New porter question

Daniel O'Connor darius at dons.net.au
Fri Apr 23 21:02:56 PDT 2010


Hi,
I'm trying to port tclreadline but I'm having problems convincing it that the linker does shared libs..

If I just unpack it (you can get it from SF http://sourceforge.net/projects/tclreadline/) and run configure it says..

...
checking if gcc static flag -static works... rm: conftest.dSYM: is a directory
none
rm: conftest.dSYM: is a directory
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking whether the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... no
checking command to parse /usr/bin/nm output... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
...

If I run /opt/local/bin/autoreconf then configure works but building gives..
[Ur 13:30] ~/tclreadline-2.1.0 >make
make  all-am
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/readline    -g -O2 -MT tclreadline.lo -MD -MP -MF .deps/tclreadline.Tpo -c -o tclreadline.lo tclreadline.c
./libtool: fork: Resource temporarily unavailable
: ltconfig version `' does not match ltmain.sh version `1.3.5'
Fatal configuration error.  See the libtool docs for more information.
: ltconfig version `' does not match ltmain.sh version `1.3.5'
Fatal configuration error.  See the libtool docs for more information.
(last 2 lines repeated many times then it exits)

I have a reasonable amount of experience with FreeBSD ports but none for MacPorts so any help is appreciated :)

Thanks.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the macports-dev mailing list