X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: X-Sender: noneofyourbus28 AT hotmail DOT com From: "Etienne" To: References: Subject: Re: Perl is installed in /lib, but Config.pm indicates it is in /usr/local/lib Date: Wed, 28 Nov 2007 20:47:44 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I believe that answers my questions and solves my problem. I probably don't need "TCL" anyway. Thanks, Etienne. ----- Original Message ----- From: "Robert Kiesling" To: Sent: Wednesday, November 28, 2007 8:26 PM Subject: Re: Perl is installed in /lib, but Config.pm indicates it is in /usr/local/lib >[ Charset ISO-8859-1 unsupported, converting... ] >> It looks like I misspoke slightly. I reviewed the "Config.pm" again and >> it >> thinks it is installed in "/usr/lib". I don't even have a "lib" directory >> under "usr" on a clean install of cygwin. >> >> One of the lines in "Config.pm" is "archlibexp => >> '/usr/lib/perl5/5.8/cygwin'" >> Also "tclConfig.sh" has the line >> "TCL_STUB_LIB_PATH='/usr/lib/libtclstub84.a'" >> >> Just for clarification. I have a clean install of cygwin with the >> packages >> necessary to attempt a build of rrdtool. "rrdtool" is the only software >> I >> have that did not come from the cygwin setup. "Perl" and "TCL" can't >> find >> several functions from the following packages: libartlgpl2, >> libpng12-devel & >> libfreetype2-devel. If I only disable "TCL", I get the same "undefined >> reference" errors from "PERL". The configure script finds the libraries >> with no dificulty and if I attempt a build by disabling "TCL" and "PERL" >> it >> works. The only way I can get "PERL" to be included is by using the >> option >> "LINKTYPE=static", but I'm not sure of the consequences of that action. >> >> Some of the errors are "undefined reference to `_art_vpath_add_point'", >> "undefined reference to `_FT_Done_Glyph'" & "undefined reference to >> `_png_create_write_struct'" >> >> I tried copying the contents of the "/lib" directory to "/usr/lib" and >> "/usr/local/lib" as an attempted workaround. This however did not solve >> the >> problem. Even if this is a problem with "rrdtool", it doesn't explain >> the >> "Config.pm" and "tclConfig.sh" files. >> >> If I am wrong and this is a problem with "rrdtool", please let me know >> and I >> will address it with them instead. I did try this with the latest >> version >> 1.2.26 and an older version 1.2.15 with the same results. >> >> Attached is the output of the perl command line Robert sent. >> >> I wish cygwin would use forums instead of a mailing list. >> >> Thanks, >> Etienne >> >> ----- Original Message ----- >> From: "Robert Kiesling" >> To: >> Sent: Wednesday, November 28, 2007 7:15 PM >> Subject: Re: Perl is installed in /lib, but Config.pm indicates it is in >> /usr/local/lib >> >> >> >[ Charset UTF-8 unsupported, converting... ] >> >> Etienne wrote: >> >> > I have been trying to build rrdtool and as I watched it run I >> >> > noticed a >> >> > problem with Perl and TCL./TK. Both indicated that they were >> >> > installed >> >> > in /usr/local/lib. I tried a clean install of cygwin, but it still >> >> > installed them into /lib. I checked Config.pm and it still >> >> > indicates >> >> > that it is in /usr/local/lib. Why is there a discrepancy? >> >> > >> >> > I am running the latest version of cygwin >> >> >> >> Neither the Cygwin TCL/TK nor the Cygwin Perl package install anything >> >> in >> >> /usr/local. See: >> >> >> >> >> >> >> >> >> >> Perhaps looking at the output of 'cygcheck -s -r -v' would help you >> >> find the errant installations? >> > >> > What is the output of Config? >> > >> > Here is a (long) one-liner to print the configuration lib paths >> > (and everything else). >> > >> > perl -e 'use Config; foreach (keys Config) {print "$_\t$Config{$_}";}' >> > >> > Regards >> > >> > -- >> > Ctalk Home Page: http://ctalk-lang.sourceforge.net >> > >> > >> > -- >> > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> > Problem reports: http://cygwin.com/problems.html >> > Documentation: http://cygwin.com/docs.html >> > FAQ: http://cygwin.com/faq/ >> > >> > > > Cygwin only allows statically linked libraries, so the, "static," option > is > necessary. It is possible to build Perl with the modules (including > PERL!) > into the binary, but the procedure escapes me at the moment. > > The alternative if you need to use dynamic loading is to build Perl for > Windows; that is, with DLLs, but it's a procedure I've never attempted. > > Robert > > >> -- >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> Problem reports: http://cygwin.com/problems.html >> Documentation: http://cygwin.com/docs.html >> FAQ: http://cygwin.com/faq/ > -- > Ctalk Home Page: http://ctalk-lang.sourceforge.net > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/