Opened 17 years ago

Closed 14 years ago

#14176 closed defect (fixed)

gnustep-gui compiling error - build failure

Reported by: bubble_dancer@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pb.bwfoto@…, probono@…
Port: gnustep-gui

Description

I've tried to build GWorkspace. But, when building gnustep-gui, gcc-mp-4.2 says, "I cannot recognize option '-weak_framework'.". My system is, PowerBook G4 and MacOS X 10.5 Leopard(fresh install).

$ sudo port install gnustep
Password:
--->  Building gnustep-gui with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-gui/work/gnustep-gui-0.12.0" && gnumake all messages=yes GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles " returned error 2
Command output: 	    cp -fr $f ./NamedPicker.bundle/Resources/; \
	  else \
	    echo "Warning: $f not found - ignoring"; \
	  fi; \
	done
Making all for bundle WheelPicker...
for f in GSWheelColorPicker.tiff; do \
	  if [ -f $f -o -d $f ]; then \
	    cp -fr $f ./WheelPicker.bundle/Resources/; \
	  else \
	    echo "Warning: $f not found - ignoring"; \
	  fi; \
	done
Making all in KeyBindings...
gnumake[1]: Nothing to be done for `all'.
Making all in Resources...
gnumake[1]: Nothing to be done for `all'.
Making all in Printing...
Making all in GSLPR...
Making all for bundle GSLPR...
gnumake[3]: Nothing to be done for `internal-bundle-all'.
Making all in GSCUPS...
Making all for bundle GSCUPS...
gcc-mp-4.2 -fgnu-runtime -bundle       -L/opt/local/lib  -flat_namespace -undefined warning -o ./GSCUPS.bundle/./GSCUPS ./obj/GSCUPSPrincipalClass.o ./obj/GSCUPSPageLayout.o ./obj/GSCUPSPrintInfo.o ./obj/GSCUPSPrintOperation.o ./obj/GSCUPSPrintPanel.o ./obj/GSCUPSPrinter.o   -L/opt/local/lib    -L../../Source/./obj   -L/opt/local/GNUstep/System/Library/Libraries/   -lcups -weak_framework Kerberos -framework CoreFoundation -framework Security -lz -lpthread -framework CoreFoundation     -lgnustep-gui    -lgnustep-base     -lobjc   -lm
gcc-mp-4.2: Kerberos: No such file or directory
gcc-mp-4.2: unrecognized option '-weak_framework'
gnumake[3]: *** [GSCUPS.bundle/./GSCUPS] Error 1
gnumake[2]: *** [GSCUPS.all.bundle.variables] Error 2
gnumake[1]: *** [internal-all] Error 2
gnumake: *** [internal-all] Error 2

Error: The following dependencies failed to build: ArtResources gnustep-core gnustep-back gnustep-gui libart_lgpl GMastermind GMines GNUMail Etoile SQLClient Performance sqlite3 gawk dbus docbook-xml-4.1.2 xmlcatmgr xmlto docbook-xml-4.2 docbook-xsl getopt oniguruma5 poppler cairo gtk2 atk glib2 gtk-doc perl5.8 scrollkeeper docbook-xml docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 p5-xml-parser pango poppler-data Pantomime PRICE TalkSoup netclasses Yap.app ImageMagick bzip2 a2ps libtool psutils gworkspace system-preferences PreferencePanes windowmaker
Error: Status 1 encountered during processing.

Change History (10)

comment:1 Changed 17 years ago by jvilla@…

same problema, after having followed the information for fresh installation at http://www.zathras.de/angelweb/x2004-10-30.htm

comment:2 Changed 16 years ago by pb.bwfoto@…

Same problem here also. Fresh macports installation on leopard. 10.5.2 GNUStep ports are a little outdated too. (Is maintaining ports difficult? What skills do I need to have, I want to fix these)

comment:3 Changed 16 years ago by mf2k (Frank Schima)

Cc: pb.bwfoto@… added

@pb.bwfoto - It's not that hard to be a maintainer. You can use other ports as a guide. Here's the wiki page on it: http://guide.macports.org/#reference

You can edit a port like this:

sudo edit port gnustep

Sorry for the very late reply on this.

comment:4 in reply to:  description Changed 16 years ago by tguless@…

I got around this by modifying /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-gui/work/gnustep-gui-0.12.0/config.make

and removing the string

"-weak_framework Kerberos"

I am on Leopard, and perhaps there are no longer weak links to the Kerberos framework?

I found this code in reference to this switch: http://www.opensource.apple.com/darwinsource/10.5.1/cups-136/cups/config-scripts/cups-gssapi.m4

comment:5 Changed 16 years ago by probono@…

Cc: probono@… added

Cc Me!

comment:6 Changed 16 years ago by tobypeterson

Resolution: invalid
Status: newclosed

Same as #16922 ... why are you using MacPorts gcc?

comment:7 Changed 16 years ago by tobypeterson

Resolution: invalid
Status: closedreopened

Oh, gnustep portgroup.. blah

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:9 Changed 15 years ago by tobypeterson

Port: gnustep-gui added
Version: 1.6.0

comment:10 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

Using Apple's gcc 4.2 as of r73710.

Note: See TracTickets for help on using tickets.