Bizarre error when building xgalaga!

2009-04-01 Thread Scott Heftler
b6$ sudo port install xgalaga
---  Fetching xgalaga
---  Attempting to fetch xgalaga_2.0.34.orig.tar.gz from
http://downloads.sourceforge.net/xgalaga
---  Verifying checksum(s) for xgalaga
---  Extracting xgalaga
---  Applying patches to xgalaga
---  Configuring xgalaga
---  Building xgalaga
Error: Target org.macports.build returned: shell command  cd

/opt/local/var/macports/build/_opt_local_var_macports_sources_\
rsync.macports.org_release_ports_games_xgalaga/work/xgalaga-2.0.34

 make all  returned error 2
Command output: for i in libsprite; do cd $i ; make ; done
/usr/bin/gcc-4.0 -I. -I.. -O2  -I/usr/X11/include -DHAVE_CONFIG_H   -c
-o border.o border.c
/usr/bin/gcc-4.0 -I. -I.. -O2  -I/usr/X11/include -DHAVE_CONFIG_H   -c
-o cursor.o cursor.c
/usr/bin/gcc-4.0 -I. -I.. -O2  -I/usr/X11/include -DHAVE_CONFIG_H   -c
-o init.o init.c
/usr/bin/gcc-4.0 -I. -I.. -O2  -I/usr/X11/include -DHAVE_CONFIG_H   -c
-o misc.o misc.c
/usr/bin/gcc-4.0 -I. -I.. -O2  -I/usr/X11/include -DHAVE_CONFIG_H   -c
-o sector.o sector.c
/usr/bin/gcc-4.0 -I. -I.. -O2  -I/usr/X11/include -DHAVE_CONFIG_H   -c
-o buffer.o buffer.c
/usr/bin/gcc-4.0 -I. -I.. -O2  -I/usr/X11/include -DHAVE_CONFIG_H   -c
-o data.o data.c
In file included from data.c:19:
data.h:69: error: array type has incomplete element type
data.h:72: error: array type has incomplete element type
make[1]: *** [data.o] Error 1
make: *** [subdirs] Error 2

Error: Status 1 encountered during processing.

- - - - - -

Any ideas?



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Bizarre error when building xgalaga!

2009-04-01 Thread Scott Heftler
Anders F Björklund afb at macports.org writes:

 That's not really bizarre, it's just missing an include.
 
 Ported most of the fixes over from Fink, but it wasn't
 much fun without the sound anyway so I didn't post it.
 
 Suppose I could, if anyone would find it interesting...
 
 --anders
 

So all I have to do is have MacPorts port the missing header file?

Could you tell me which file it is?

--
Scott





___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Bizarre error when building xgalaga!

2009-04-01 Thread Scott Heftler
Anders F Björklund afb at macports.org writes:

 It should be working with revision 1. On Tiger's X11, anyway.
 
 Feel free to test it on Leopard, and get the sound working 
 
 --anders

I'm running Leopard.  What package do I need to port now?
I did port search data and got nothing.  Do I need to go to
the Find site and look around for xgalaga patch or something?

Sorry, I'm a bit daft in this area.

--
Scott

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Bizarre error when building xgalaga!

2009-04-01 Thread Scott Heftler
Anders F Björklund afb at macports.org writes:


 It should be working with revision 1. On Tiger's X11, anyway.
 
 Feel free to test it on Leopard, and get the sound working 
 
 --anders

OK.  I just downloaded xgalaga-2.1.1.0.tar manually from SourceForge.
Now, how can I get MacPorts to port it from my harddrive?  MacPorts only
recognizes the outdate version 2.0.34-28?

--
Scott



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


MacPorts installs libraries I already have?

2008-12-04 Thread Scott Heftler
Hello.

I MacPorted a bunch of stuff yesterday (libpng, netpbm, and gocr), and
MacPorts added repeats of lib files, man pages, and other stuff I
ALREADY HAD in both my system-installed libraries and in
/usr/local/share!  What’s up with that?

For example, when I MacPorted gocr, it fetched and installed jpeg 6b_3
-- but I already have it.

Then it installed jasper 1.900.1_1+darwin_9.  Already have that, too.

Then it installed tiff.  Already have that, too.

Then it installed netpbm, which I had already installed myself --
using the ordinary ./config, make, install -- into /usr/local/share.

Two questions:

(1) Shouldn’t MacPorts LOOK to see if I have what it thinks it should
install?  Is there a way to MAKE MacPorts look first, and thus skip
duplicate files?

(2) Should I now delete ONE of the duplicate file-sets?  If so, which
should I kill -- the ordinary /usr/...  embedded set, or MacPorts'
/opt/... embedded set?

Thank you so much!



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users