Opened 19 years ago

Closed 18 years ago

#5428 closed defect (invalid)

BUG: libungif port doesn't work for OpenDarwin 7.2.1 / x86

Reported by: IOOI-SqAR Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

installation fails like this:

/bin/sh ../libtool --mode=link gcc -g -O2 -I/usr/X11R6/include -Wall -g -O2 -o gif2epsn gif2epsn.o ../lib/libungif.la ../lib/libgetarg.a mkdir .libs gcc -g -O2 -I/usr/X11R6/include -Wall -g -O2 -o .libs/gif2epsn gif2epsn.o ../lib/.libs/libungif.dylib -lSM -lICE -L/usr/X11R6/lib -lX11 ../lib/libgetarg.a gcc: ../lib/.libs/libungif.dylib: No such file or directory make[2]: * [gif2epsn] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for libungif): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing. localhost:~ lars$

Attachments (1)

libungif failure.txt (18.6 KB) - added by IOOI-SqAR 19 years ago.
the whole log of the port install attempt

Download all attachments as: .zip

Change History (7)

Changed 19 years ago by IOOI-SqAR

Attachment: libungif failure.txt added

the whole log of the port install attempt

comment:1 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to toby@…
Summary: libungif port doesn't work for OpenDarwin 7.2.1 / x86BUG: libungif port doesn't work for OpenDarwin 7.2.1 / x86

comment:2 Changed 19 years ago by toby@…

Owner: changed from toby@… to yves@…

Yves, can you take a look at this? I know you've done a number of puredarwin fixes; I only run Mac OS X.

comment:3 Changed 19 years ago by yves@…

This seems more like a x86 problem than a puredarwin one.

configure says it will build shared libs but the build process does not. Since

libungif is an old package, libtool is probably outdated

I would try : 1- pre-configure { system "cd ${workscrpath} && glibtoolize --force }

if that does not work : 2- port install libtool and back to step 1

If that does not work : 3- configure.args --disable-shared

but the last solution can lead to other problems along the way.

You can always build it yourself

gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libungif.4.1.3.dylib .libs/dev2gif.o .libs/dgif_lib.o .libs/egif_lib.o .libs/gif_err.o .libs/gif_font.o .libs/gifalloc.o .libs/qprintf.o .libs/quantize.o -lSM -lICE -L/usr/X11R6/lib -lX11 -install_name /opt/local/lib/libungif.4.dylib -compatibility_version 6 -current_version 6.3

and restart the build process from there

comment:4 Changed 19 years ago by toby@…

Cc: toby@… removed

comment:5 Changed 19 years ago by yves@…

Owner: changed from yves@… to toby@…

Hi

doing some home cleaning !

comment:6 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: invalid
Status: newclosed

Opendarwin no longer supported.

Note: See TracTickets for help on using tickets.