From owner-freebsd-questions@FreeBSD.ORG Fri Aug 24 12:19:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7848416A418 for ; Fri, 24 Aug 2007 12:19:00 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from eunet.yu (smtpclu-1.eunet.yu [194.247.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 081CC13C468 for ; Fri, 24 Aug 2007 12:18:57 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-221-254.eunet.yu [213.198.221.254]) by eunet.yu (8.13.6/8.13.6) with ESMTP id l7OCIpch008266; Fri, 24 Aug 2007 14:18:53 +0200 Message-Id: <200708241218.l7OCIpch008266@eunet.yu> Date: Fri, 24 Aug 2007 14:13:55 +0200 From: Nikola Lecic To: "Andrew Falanga" In-Reply-To: <340a29540708231940k6bb28431x7bc761217735b7d1@mail.gmail.com> References: <340a29540708231940k6bb28431x7bc761217735b7d1@mail.gmail.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: User Questions Subject: Re: perl configuration question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2007 12:19:00 -0000 On Thu, 23 Aug 2007 20:40:32 -0600 "Andrew Falanga" wrote: > Hi, >=20 > I'm trying to install WebGUI on a FreeBSD system for my church. > WebGUI uses PERL for its operation. The program has a test > environment perl script that it tries to run to make sure the > environment can run WebGUI. On a couple of the perl modules it tries > to install, it bails saying that "make" is no good. >=20 > I'm guessing this is because perl is expecting GNU make not BSD make, > and since it's looks for /usr/bin/make, I'm sure it's getting the > wrong version. I'm pretty much a perl neophyte, having written only > one perl script in my life and that was so pitifully little that it > really wasn't worthy of being called a script; I do not know how to > fix this. How does one fix the configuration of perl (if this is even > the problem, I'm going to try and see if this is something WebGUI is > trying to use). Hello Andrew, This application needs good Porting. Unfortunatelly, many applications advertise themselves like "Runs on Linux/BSD/Solaris/AIX/....." while taking zero or close to zero care of anything but Linux. This is visible in the fact that WebGUI sctipts do no inspection regarding available make versions and for example in their assuming that bash surely lives in /bin. Here are several notes on what you can do: (1) you have to manually replace all occurences of 'make' with 'gmake', at least in build.sh. If the script itself fails, run it manually with /usr/local/bin/bash or change bash path(s); (2) please note that build.sh with no arguments will actually build not just Perl, but Apache, ImageMagick, AwStats, several Perl modules, MySQL and many other things as well, which doesn't make much sense. It seems that you have to run it with # /usr/local/bin/bash build.sh --wre with all prerequisites (you must gather them by hand from the installation scripts) previously installed from ports. But it's very likely that the script will not find all it needs itself and that you must help it manually. A short inspection shows that you need databases/memcached graphics/ImageMagick databases/mysql... www/apache... www/awstats www/mod_perl ftp/lftp and many more, including a huge number of Perl modules. Some of these apps maybe have to be built with special options. Any you still have to take care about paths the scripts use after the installation in order to get WebGUI fully working. (3) Maybe you should consider using another CMS software, there is a lot of choice, including Perl-based if you prefer that. The most important thing is that they are truly ported, so you have just to type 'make install' to get running (and optimised) FreeBSD version. Nikola Le=C4=8Di=C4=87