Eskil Kvalnes <[EMAIL PROTECTED]> said:
>
> On Feb 27, 2008, at 9:08 AM, Daniel E. Macks wrote:
>
>> Eskil Kvalnes <[EMAIL PROTECTED]> said:
>>> On Feb 26, 2008, at 4:02 PM, Alexander Hansen wrote:
>>>> Eskil Kvalnes wrote:
>>>>> gzip -dc /sw/src/Tk-TableMatrix-1.2.tar.gz | /sw/bin/tar -xf - --
>>>>> no- same-owner --no-same-permissions
>>>>> perl5.8.6 Makefile.PL PERL=/sw/bin/perl5.8.6 PREFIX=/sw
>>>>> INSTALLPRIVLIB=/sw/lib/perl5/5.8.6 INSTALLARCHLIB=/sw/lib/
>>>>> perl5/5.8.6/ darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/
>>>>> perl5/5.8.6 INSTALLSITEARCH=/sw/lib/perl5/5.8.6/darwin-thread-
>>>>> multi-2level INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/
>>>>> share/man/man3 INSTALLSITEMAN1DIR=/sw/share/man/man1
>>>>> INSTALLSITEMAN3DIR=/sw/share/man/ man3 INSTALLBIN=/sw/bin
>>>>> INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin
>>>>> ### Note: 'Building Outside of Tk itself' Messages are Expected
>>>>> Here ####
>>>>> perl5.8.6 is installed in /sw/lib/perl5-core/5.8.6/darwin-thread-
>>>>> multi-2level okay
>>>>> PPM for perl5.008006
>>>>> Test Compiling config/signedchar.c
>>>>> Test Compile/Run config/unsigned.c
>>>>> Test Compiling config/Ksprintf.c
>>>>> Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
>>>>> Test Compiling config/tod.c
>>>>> Test Compiling -DTIMEOFDAY_TZ config/tod.c
>>>>> Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
>>>>> Test Compiling -DTIMEOFDAY_DOTS config/tod.c
>>>>> Problem gettimeofday()
>>>>
>>>> I get the same error (10.5.2/PowerPC), other than not reaching the
>>>> lines about X11. The gist appears to be an issue with
>>>> gettimeofday()
>>>
>>> looks like I only replied to Alexander, so here I go again. I am in
>>> fact on 10.5.2 Intel platform. Hope someone can help me (us) make
>>> this
>>> work!
>>
>> What version of tk-pm586 is installed? Does rebuilding that package 1)
>> work and 2) solve the tk-tablematrix-pm586 build problem (tablematrix
>> appears to piggyback on a test actually supplied by tk itself)? What
>> XCode is installed? Assuming tk-pm586 got installed (whether
>> pre-existing, or it built okay now), akh, you might try hacking the
>> Tk/MMtry.pm file installed as part of it (not quite sure the full
>> path) around line 27, which presently says:
>>
>> my $msgs = `$Config{'cc'} -o $out $Config{'ccflags'} @$inc $file @
>> $lib $stderr_too`;
>> my $ok = ($? == 0);
>> # warn $msgs if $msgs;
>>
>> and change to:
>>
>> my $cmd = "$Config{'cc'} -o $out $Config{'ccflags'} @$inc $file @
>> $lib $stderr_too";
>> warn $cmd;
>> my $msgs = `$cmd`;
>> my $ok = ($? == 0);
>> warn $msgs if $msgs;
>>
>> That is, display the actual test command before running it and then
>> display its actual output. Now we might see what tablematrix is trying
>> and why it's croaking.
>>
>> dan
>>
>> --
>> Daniel Macks
>> [EMAIL PROTECTED]
>> http://www.netspace.org/~dmacks
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Fink-beginners mailing list
>> [email protected]
>> http://news.gmane.org/gmane.os.apple.fink.beginners
>
> hypothetic:~ eskil$ fink list tk-pm586
> Information about 6471 packages read in 2 seconds.
> i tk-pm586
> 804.026-14 Graphical User Interface ToolKit
>
> Is that the information you are after?
>
> I tried a "fink remove tk-pm586" and "fink install tk-pm586" before
> giving "fink install xmltv586" another go, but the same thing happens.
>
> I have XCode 3.0 installed as I tried 2.5 but that did not work at
> all. The c compiler supplied by 2.5 apparently did not work with
> Leopard.
>
> I edited the file MMtry.pm as you suggested and here is the new ouput:
>
> hypothetic:~ eskil$ fink install xmltv586
> Information about 6471 packages read in 1 seconds.
> The following package will be installed or updated:
> xmltv586
> The following 19 additional packages will be installed:
> expat1 html-fromtext-pm586 html-parser-pm586 html-tree-pm586 libwww-
> pm586 lingua-preferred-pm586 log-tracemsgs-pm586 tk-tablematrix-pm586
> unicode-string-pm586 uri-pm586 xml-libxml-common-pm586
> xml-libxml-pm586 xml-namespacesupport-pm xml-parser-pm586 xml-sax-
> expat-pm586 xml-sax-pm586 xml-simple-pm586 xml-twig-pm586 xml-writer-pm
> Do you want to continue? [Y/n]
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-
> i386/base/expat1_2.0.1-1_darwin-i386.deb
> Selecting previously deselected package expat1.
> dpkg: considering removing expat in favour of expat1 ...
> dpkg: yes, will remove expat in favour of expat1.
> (Reading database ... 8553 files and directories currently installed.)
> Unpacking expat1 (from .../expat1_2.0.1-1_darwin-i386.deb) ...
> Setting up expat1 (2.0.1-1) ...
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-tk-tablematrix-
> pm586-1.2-2 /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-tk-tablematrix-pm586-1.2-2'
> in `/sw/src/fink.build/fink-buildlock-tk-tablematrix-
> pm586-1.2-2_2008.02.27-09.19.02_darwin-i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-tk-
> tablematrix-pm586-1.2-2_2008.02.27-09.19.02_darwin-i386.deb
> Selecting previously deselected package fink-buildlock-tk-tablematrix-
> pm586-1.2-2.
> (Reading database ... 8553 files and directories currently installed.)
> Unpacking fink-buildlock-tk-tablematrix-pm586-1.2-2 (from .../fink-
> buildlock-tk-tablematrix-pm586-1.2-2_2008.02.27-09.19.02_darwin-
> i386.deb) ...
> Setting up fink-buildlock-tk-tablematrix-pm586-1.2-2
> (2008.02.27-09.19.02) ...
> gzip -dc /sw/src/Tk-TableMatrix-1.2.tar.gz | /sw/bin/tar -xf - --no-
> same-owner --no-same-permissions
> perl5.8.6 Makefile.PL PERL=/sw/bin/perl5.8.6 PREFIX=/sw
> INSTALLPRIVLIB=/sw/lib/perl5/5.8.6 INSTALLARCHLIB=/sw/lib/perl5/5.8.6/
> darwin-thread-multi-2level INSTALLSITELIB=/sw/lib/perl5/5.8.6
> INSTALLSITEARCH=/sw/lib/perl5/5.8.6/darwin-thread-multi-2level
> INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3
> INSTALLSITEMAN1DIR=/sw/share/man/man1 INSTALLSITEMAN3DIR=/sw/share/man/
> man3 INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin
> ### Note: 'Building Outside of Tk itself' Messages are Expected Here
> ####
> perl5.8.6 is installed in /sw/lib/perl5-core/5.8.6/darwin-thread-
> multi-2level okay
> PPM for perl5.008006
> Test Compiling config/signedchar.c
> gcc -o signedchar -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-
> precomp -fno-strict-aliasing -pipe config/signedchar.c 2>&1 at /sw/
> lib/perl5/5.8.6/darwin-thread-multi-2level/Tk/MMtry.pm line 27.
> i686-apple-darwin9-gcc-4.0.1: config/signedchar.c: No such file or
> directory
> i686-apple-darwin9-gcc-4.0.1: no input files
> Test Compile/Run config/unsigned.c
> Test Compiling config/Ksprintf.c
> gcc -o Ksprintf -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-
> precomp -fno-strict-aliasing -pipe config/Ksprintf.c 2>&1 at /sw/lib/
> perl5/5.8.6/darwin-thread-multi-2level/Tk/MMtry.pm line 27.
> i686-apple-darwin9-gcc-4.0.1: config/Ksprintf.c: No such file or
> directory
> i686-apple-darwin9-gcc-4.0.1: no input files
> Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
> gcc -o Ksprintf -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-
> precomp -fno-strict-aliasing -pipe -DSPRINTF_RETURN_CHAR config/
> Ksprintf.c 2>&1 at /sw/lib/perl5/5.8.6/darwin-thread-multi-2level/Tk/
> MMtry.pm line 27.
> i686-apple-darwin9-gcc-4.0.1: config/Ksprintf.c: No such file or
> directory
> i686-apple-darwin9-gcc-4.0.1: no input files
> Test Compiling config/tod.c
> gcc -o tod -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -
> fno-strict-aliasing -pipe config/tod.c 2>&1 at /sw/lib/perl5/5.8.6/
> darwin-thread-multi-2level/Tk/MMtry.pm line 27.
> i686-apple-darwin9-gcc-4.0.1: config/tod.c: No such file or directory
> i686-apple-darwin9-gcc-4.0.1: no input files
> Test Compiling -DTIMEOFDAY_TZ config/tod.c
> gcc -o tod -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -
> fno-strict-aliasing -pipe -DTIMEOFDAY_TZ config/tod.c 2>&1 at /sw/
> lib/perl5/5.8.6/darwin-thread-multi-2level/Tk/MMtry.pm line 27.
> i686-apple-darwin9-gcc-4.0.1: config/tod.c: No such file or directory
> i686-apple-darwin9-gcc-4.0.1: no input files
> Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
> gcc -o tod -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -
> fno-strict-aliasing -pipe -DTIMEOFDAY_NO_TZ config/tod.c 2>&1 at /sw/
> lib/perl5/5.8.6/darwin-thread-multi-2level/Tk/MMtry.pm line 27.
> i686-apple-darwin9-gcc-4.0.1: config/tod.c: No such file or directory
> i686-apple-darwin9-gcc-4.0.1: no input files
> Test Compiling -DTIMEOFDAY_DOTS config/tod.c
> gcc -o tod -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -
> fno-strict-aliasing -pipe -DTIMEOFDAY_DOTS config/tod.c 2>&1 at /sw/
> lib/perl5/5.8.6/darwin-thread-multi-2level/Tk/MMtry.pm line 27.
> i686-apple-darwin9-gcc-4.0.1: config/tod.c: No such file or directory
> i686-apple-darwin9-gcc-4.0.1: no input files
> Problem gettimeofday()
> Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.la
> Using -I/usr/X11R6/include to find /usr/X11R6/include/X11/Xlib.h
> ### execution of perl5.8.6 failed, exit code 10
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-tk-tablematrix-pm586-1.2-2
> (Reading database ... 8554 files and directories currently installed.)
> Removing fink-buildlock-tk-tablematrix-pm586-1.2-2 ...
> Failed: phase compiling: tk-tablematrix-pm586-1.2-2 failed
Interesting. I fear this gettimeofday may be a red herring (per the
"ignore thi=ese messages because not building within Tk itself" note),
and because on my 10.4 machine:
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.dylib
Using -I/usr/X11R6/include to find /usr/X11R6/include/X11/Xlib.h
/sw/build.build/tk-tablematrix-pm586-1.2-2/Tk-TableMatrix-1.2 does not start
with /sw/lib/perl5/5.8.6/darwin-thread-multi-2level
i.e. building outside Tk itself
/sw/build.build/tk-tablematrix-pm586-1.2-2/Tk-TableMatrix-1.2/pTk does not
start with /sw/lib/perl5/5.8.6/darwin-thread-multi-2level
i.e. building outside Tk itself
and the build continues and succeeds. Two thoughts (no time now to
figure out details):
1. Could be problem with mixing apple's and fink's perl versions (on
10.4, pm 586 matches apple, whereas on 10.5, apple has 5.8.8. Check if
a -pm588 package set succeeds.
2. Could be remnant of "old" (10.4) x11 contaminating your 10.5 x11
installation. I think that -L path is the old location, and a .la
isn't what perl would use when linking (I think the config only looks
for the path, but it's finding *a* path based on an irrelevant
file)...where is libX11.dylib?
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners