Opened 16 years ago

Closed 15 years ago

#15879 closed defect (fixed)

libglade requires an active X session to build? can that be skipped or can the user be notified?

Reported by: paulbeard@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: libglade

Description

At worst, this should be a warning, not a build failure.

/usr/bin/gcc-4.0 -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/usr/X11R6/include -I/opt/local/include/gnome-xml -I./.. -c libglade-scan.c  -fno-common -DPIC -o .libs/libglade-scan.lo
/usr/bin/gcc-4.0 -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/usr/X11R6/include -I/opt/local/include/gnome-xml -I./.. -c libglade-scan.c -o libglade-scan.o >/dev/null 2>&1
mv -f .libs/libglade-scan.lo libglade-scan.lo
gtk-doc: Linking scanner
/usr/bin/gcc-4.0 -o .libs/libglade-scan libglade-scan.o  -L../glade/.libs -lglade -L/opt/local/lib -L/usr/X11R6/lib -lz -lz -lz -lgtk -lgdk -lgmodule -lglib -lintl -liconv -lc -lXext -lX11 -lm -lxml -lz -lz -lz 
creating libglade-scan
gtk-doc: Running scanner libglade-scan

Gtk-WARNING **: cannot open display: :0
Scan failed: 
make[2]: *** [scan-build.stamp] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (2)

comment:1 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:2 Changed 15 years ago by dbevans (David B. Evans)

Port: libglade added
Resolution: fixed
Status: newclosed

Disabled building of documentation in r56143 to work around this problem. Note that this is the obsolete glib1 version of this library and should only be used with legacy applications that require glib1/gtk1. Current version of the library is libglade2 for use with glib2/gtk2.

Note: See TracTickets for help on using tickets.