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

On 6/27/11 2:18 AM, Marek Stepanek wrote:
> 
> 
> Hello all!
> 
> 
> I am trying vainly to install the packages:
> 
> fortune-mod           
> fortunes
> fortunes-b5   
> fortunes-de
> fortunes-min
> fortunes-off
> 
> 
> all failing with errors like:
> 
> do install -m 0644 $i $i.dat 
> /sw/src/fink.build/root-fortune-mod-1.99.1-2/sw/share/fortunes/off || 
> exit $? ; \
>           cp -d $i.u8 
> /sw/src/fink.build/root-fortune-mod-1.99.1-2/sw/share/fortunes/off ; \
>       done
> cp: illegal option -- d
> 

Technically, only fortune-mod is failing with that error.  All of the
other packages depend on fortune-mod.

> 
> Looking at the cp manual, there is indeed no option -d. While compiling 
> I get many of the following errors too:
> 
> 
> fortune.c:1539: warning: pointer targets in passing argument 1 of 
> 'fgets' differ in signedness
> fortune.c:1541: warning: pointer targets in passing argument 1 of 
> 'strlen' differ in signedness
> 
> and
> 
> strfile.c: In function 'main':
> strfile.c:450: warning: pointer targets in assignment differ in signedness
> 
> and
> 
> unstr.c: In function 'getargs':
> unstr.c:134: warning: implicit declaration of function 'exit'
> 
> 

Those are warnings, as they say, and are not related to the failure.

> If you need the total output of the compilation, let me know.
> 
> 
> Thank you in advance
> 
> 
> 
> marek
> 
> 
> 

The problem here is that the package is assuming that the "cp" being
used is GNU cp rather than Apple's (BSD?) cp.  The former _does_ have a
- -d option:

  -d     same as --no-dereference --preserve=links


I've just updated the package appropriately to use Apple's cp.  The
update should be available to you via selfupdate soon.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4IcLAACgkQB8UpO3rKjQ++AwCfXp3uyljjHGu/sxpnJ1rLDFaH
HEwAn0eGt0H8TlSDrfXHlxott4OkSHbQ
=suJS
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to