Changes between Initial Version and Version 6 of Ticket #6804


Ignore:
Timestamp:
Dec 28, 2007, 6:21:02 PM (17 years ago)
Author:
jmpp@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6804

    • Property Status changed from new to closed
    • Property Cc pguyot@… added
    • Property Dependson changed from to 6800
    • Property Milestone changed from to MacPorts base bugs
    • Property Resolution changed from to fixed
  • Ticket #6804 – Description

    initial v6  
    11Following application of the patches mentioned in BUG #6800 I managed to DarwinPorts compiled on FreeBSD. Unfortunately, I still cannot get it to run properly due to problems with Pextlib. I tried a couple approaches, but I'm wondering whether this is something I'm not doing due to a lack of familiarity with tcl or if it's a larger problem. I have the tcl8.4 port compiled with WITH_PTHREADS=YES on FreeBSD 5.4. I'm using the current CVS version, but the results are the same with the 1.2 tarball.
    22
     3{{{
    34$ ./configure --prefix=/home/dp --with-tcl=/usr/local/lib/tcl8.4/ --with-tclinclude=/usr/local/include/tcl8.4/ --with-tclpackage=/usr/local/lib/tcl8.4/ --with-curlprefix=/usr/local
     5}}}
    46
    57Everything built, but any attempt at using 'port' resulted in errors that it could not find Pextlib:
    68
     9{{{
    710$ /home/dp/bin/port help
    811can't find package Pextlib 1.0
     
    1922"dportinit ui_options global_options global_variations"
    2023Error: /home/dp/bin/port: Failed to initialize ports system, can't find package Pextlib 1.0
     24}}}
    2125
    2226Some digging led me to try the individual pextlib test within base, but that failed too:
    2327
     28{{{
    2429$ gmake test
    2530/usr/local/bin/tclsh8.4 tests/curl.tcl Pextlib.so
     
    3237    (file "tests/curl.tcl" line 54)
    3338gmake: *** [test] Error 1
     39}}}
    3440
    3541It looks like the shared library handling might be to blame. I tried to set a useful environment variable:
    3642
     43{{{
    3744$ export LD_LIBRARY_PATH=.:$HOME/darwinports/base/src/pextlib1.0/
    3845$ gmake test/usr/local/bin/tclsh8.4 tests/curl.tcl Pextlib.so
     
    5057        libmd.so.2 => /lib/libmd.so.2 (0x28190000)
    5158        libncurses.so.5 => /lib/libncurses.so.5 (0x2819a000)
     59}}}
    5260
    5361This looks like the shared library isn't liked with libcurl. Also, the installation process didn't do whatever might be needed to get the extra tcl packages working with the port command. I verified that things were installed into the same relative locations on Mac OS X:
    5462
     63{{{
    5564$ ls /usr/local/lib/tcl8.4/darwinports1.0/
    5665Darwinports.so                  darwinports_fastload.tcl
     
    6069$ ls /home/dp/share/darwinports/Tcl/
    6170package1.0/     pextlib1.0/     port1.0/        registry1.0/    thread2.6/
     71}}}
    6272
    6373Am I missing something extra that might be needed as part of the Tcl configuration?