Opened 20 years ago

Closed 19 years ago

#2547 closed defect (fixed)

BUG: gnome-libs build-time error

Reported by: shadow@… Owned by: olegb@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

port install gnome-libs gets to the zvt directory, where it fails: /bin/sh ../libtool --mode=link gcc -fstrict-aliasing -funroll-loops -Wall -Wunused -o test-utmp gnome-utmp.o test-utmp.o -lutil -lz -lm gcc -fstrict-aliasing -funroll-loops -Wall -Wunused -o test-utmp gnome-utmp.o test-utmp.o -lutil -lz -lm ld: can't locate file for: -lutil make[2]: * [test-utmp] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

libutil exists in /opt/local/lib (DarwinPorts prefix is /opt/local): [SCULLY:~/dports/gnome/gnome-libs] root# ls -l /opt/local/lib/libutil.a -rw-r--r-- 2 root admin 87040 2 Oct 19:16 /opt/local/lib/libutil.a

but gcc is not searching there by default.

Overriding LDFLAGS to include -L${prefix}/lib would probably work, but I'm not sure what the preferred fix would be.

Change History (6)

comment:1 Changed 20 years ago by shadow@…

I fixed it by updating UTIL_LIB to be -L/opt/local/lib -lutil. Further looking yields that either this needs to be done, or how zvt's Makefile works needs to change, I think.

comment:2 Changed 20 years ago by olegb@…

Owner: changed from darwinports-bugs@… to olegb@…

is this the case with revision 1 or revision 0 of the port ?

comment:3 Changed 20 years ago by shadow@…

# $Id: Portfile,v 1.2 2004/02/23 13:59:01 olegb Exp $

suggests revision 0. Seeing as the RCS id on revision one is 4 days after the original report, I guess I will try again.

comment:4 Changed 20 years ago by shadow@…

cvs updated and tried again, same error.

comment:5 Changed 20 years ago by snu@…

Summary: gnome-libs build-time errorBUG: gnome-libs build-time error

Please use summary prefix.

comment:6 Changed 19 years ago by markd@…

Resolution: fixed
Status: newclosed

This bug was resolved sometime before or simultaneously with this one. http://bugzilla.opendarwin.org/show_bug.cgi?id=3684

Note: See TracTickets for help on using tickets.