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

On 10/5/11 1:14 PM, Pasa Guglielmo wrote:
> I'm trying to install CERNLIB on Lion with fink but I get stuck
> with ---------------- installing in /packlib... installing in
> /packlib/cspack... installing in /packlib/cspack/cspack... +
> mkdirhier 
> /sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack
>
> 
+ mkdirhier
> /sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack
>
> 
rm -f
> /sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack/cspackf.inc
>
> 
install -c -m 0444 cspackf.inc
> /sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack/cspackf.inc
>
> 
rm -f
> /sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack/cspackc.inc
>
> 
install:
> /sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack/cspackf.inc:
>
> 
No such file or directory
> make[3]: *** 
> [/sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack/cspackf.inc]
>
> 
Error 71
> make[3]: *** Waiting for unfinished jobs.... install -c -m 0444
> cspackc.inc 
> /sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack/cspackc.inc
>
> 
install:
> /sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack/cspackc.inc:
>
> 
No such file or directory
> make[3]: *** 
> [/sw/src/fink.build/cernlib2006-2006b-15/2006/src/cernlib/2006b/include/cspack/cspackc.inc]
>
> 
Error 71
> make[2]: *** [install.include] Error 2 make[1]: ***
> [install.include] Error 2 make: *** [install.include] Error 2 ###
> execution of /var/tmp/tmp.2.WYbF7r failed, exit code 2 Removing
> runtime build-lock... Removing build-lock package... 
> /sw/bin/dpkg-lockwait -r fink-buildlock-cernlib2006-2006b-15 
> (Reading database ... 216160 files and directories currently
> installed.) Removing fink-buildlock-cernlib2006-2006b-15 ... 
> Failed: phase compiling: cernlib2006-2006b-15 failed 
> ---------------- I got up to there by writing to scripts in /sw/bin
> called mkdir and mkdirhier to prevent existing dir to fire an
> error, by calling /bin/mkdir -p $1 instead.

It's an extremely bad idea to put stuff directly in /sw.  You have
voided your warranty and we can't help you until you remove them.

> 
> But there is a problem now with some .inc files as they seem to be 
> deleted before being used !
> 
> 
> 
> 

I suspect instead that they haven't been created yet.

If you're using fink-0.31.2 (it's always nice to report that sort of
information) it automatically tries to use the maximum number of
processors as set by the MaxBuildJobs field in your /sw/etc/fink.conf
file.  It appears that cernlib isn't compatible with parallel builds.
 Try using "fink configure" and set fink to use 1 cpu and then see if
cernlib builds for you.

For Remi:
If this is indeed the case you should probably mark those "make
install.bin" and "make install.include" commands in the CompileScript
to use a single thread via "make -j1 install.bin" and "make -j1
install.include".  Install operations tend to be error-prone under
multiple threads, which is why fink forces -j1 in the Install phase.

If that doesn't work you may need to mark the package as
UseMaxBuildJobs: false to force the use of a single processor thread
globally.

- -- 
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/

iEYEARECAAYFAk6Mo0EACgkQB8UpO3rKjQ8GOQCfXN3WHl4RtF2rZ2A8Wjj+X1lV
+RgAn1VcMz+bVg36EoDxur8w0vdGrMlK
=sx1Z
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to