-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simon Temple wrote:
> I'm getting an error building one of the dependent packages to nsis:

Then you should report _that_ as your error.  You don't even know yet
that nsis has failed.

> 

> Failed: phase compiling: mingw-binutils-2.16.91-20050827-1-2 failed
> 
> gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE -I. -I.././ 
> binutils -I../bfd -I.././binutils/../bfd -I.././binutils/../include - 
> I.././binutils/../intl -I../intl -DLOCALEDIR="\"/sw/lib/mingw/share/ 
> locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation  -I/sw/include - 
> W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2  -c  
> strings.c
> cc1: warnings being treated as errors
> strings.c: In function 'strings_file':
> strings.c:432: warning: 'stat64' is deprecated (declared at /usr/ 
> include/sys/stat.h:465)
> make[3]: *** [strings.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-binutils] Error 2
> ### execution of make failed, exit code 2
> 
> Newbie questions:
> Should I take the -Werror directive off the compile line?
> If so... how do I restart the build including a locally modified  
> makefile - I no little about how fink manages and builds packages?
> 
> TIA
> 
> Simon Temple
> 
> 
> 
> 

Fink doesn't support resuming builds after local modification; you would
need to run the relevant commands by hand, which would be a way to
verify that it works, at least.

You could test a local modification of the package, as per

http://finkers.wordpress.com/2009/07/24/creating-local-packages/

Also check out

http://www.finkproject.org/doc/quick-start-pkg/index.php

and

http://www.finkproject.org/doc/packaging/index.php

To handle patching the makefile, you could modify the PatchScript.
Right now it says

PatchScript: perl -pi -e 's,\|4.*9,|[4-9,' Makefile.in

and you could change that appropriately:

PatchScript : <<
#!/bin/sh -ev
perl -pi -e 's,\|4.*9,|[4-9,;' Makefile.in
(whatever patch you do to the Makefile.in)
<<

if you need to use the multi-line format.  Or you could wait a bit for
an official fix.

- --
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrgm5gACgkQB8UpO3rKjQ+77gCfWXBHA6HejCLlSkVU46hCA1DJ
LigAoKIePPKJO4FWlTlBxxqmZ48k1aXZ
=1g7W
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to