Changes between Initial Version and Version 6 of Ticket #6804
- Timestamp:
- Dec 28, 2007, 6:21:02 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6804
-
Property
Status
changed from
new
toclosed
- Property Cc pguyot@… added
-
Property
Dependson
changed from
to
6800
-
Property
Milestone
changed from
to
MacPorts base bugs
-
Property
Resolution
changed from
to
fixed
-
Property
Status
changed from
-
Ticket #6804 – Description
initial v6 1 1 Following 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. 2 2 3 {{{ 3 4 $ ./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 }}} 4 6 5 7 Everything built, but any attempt at using 'port' resulted in errors that it could not find Pextlib: 6 8 9 {{{ 7 10 $ /home/dp/bin/port help 8 11 can't find package Pextlib 1.0 … … 19 22 "dportinit ui_options global_options global_variations" 20 23 Error: /home/dp/bin/port: Failed to initialize ports system, can't find package Pextlib 1.0 24 }}} 21 25 22 26 Some digging led me to try the individual pextlib test within base, but that failed too: 23 27 28 {{{ 24 29 $ gmake test 25 30 /usr/local/bin/tclsh8.4 tests/curl.tcl Pextlib.so … … 32 37 (file "tests/curl.tcl" line 54) 33 38 gmake: *** [test] Error 1 39 }}} 34 40 35 41 It looks like the shared library handling might be to blame. I tried to set a useful environment variable: 36 42 43 {{{ 37 44 $ export LD_LIBRARY_PATH=.:$HOME/darwinports/base/src/pextlib1.0/ 38 45 $ gmake test/usr/local/bin/tclsh8.4 tests/curl.tcl Pextlib.so … … 50 57 libmd.so.2 => /lib/libmd.so.2 (0x28190000) 51 58 libncurses.so.5 => /lib/libncurses.so.5 (0x2819a000) 59 }}} 52 60 53 61 This 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: 54 62 63 {{{ 55 64 $ ls /usr/local/lib/tcl8.4/darwinports1.0/ 56 65 Darwinports.so darwinports_fastload.tcl … … 60 69 $ ls /home/dp/share/darwinports/Tcl/ 61 70 package1.0/ pextlib1.0/ port1.0/ registry1.0/ thread2.6/ 71 }}} 62 72 63 73 Am I missing something extra that might be needed as part of the Tcl configuration?