Hi Alex, I'm sure you are aware that different people have different capacities (time, knowledge, language) to be helpful on something like this. So not everyone goes into verbose mode instantly when they reach out for help, or even knows what to look for. As for comments about ppl / ppl-shlibs dependency, I simply noted that fink is happy to try to build ppl-shlibs without requiring you to agree to ppl but not vice versa. Perhaps that is an anomaly due to ppl being already built but misconfigured: I'm not at all familiar with how this tool keeps track of dependency resolutions.
It was hard to spot late last night but you are correct about the java: my bad for not being verbose and sending you (or linking to) the entire output. There are an awful lot of warnings that don't result in build failure in the typical package so as you say, without a successful build to compare to, it is pretty hard to find. > checking for javah... > /System/Library/Frameworks/JavaVM.framework/Home/bin/javah > configure: WARNING: unable to include <jni.h> The jni header file is in the System library but not my user library on my machine. Perhaps the symptom of a brand new machine that hasn't built any java software yet? If that's all it is, it seems like it should be an easy fix to the build script. Cheers, Tim On Apr 16, 2011, at 5:23 AM, Alexander Hansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 4/16/11 1:27 AM, Nelson, Timothy Knight wrote: >> Sorry, your response to the OP didn't ask for more information. > > OK, so I didn't explicitly _ask_ for the earlier output; I thought it > was implicit in "it's earlier in the build, and what you're seeing is a > symptom". > > I have the exact same error AFAIK, but I'll try to fill in some blanks. > As far as I can tell, the problem is within ppl-shlibs, which gets > compiled and installed before ppl (fink refuses to try to build ppl > until ppl-shlibs is installed). >> > > As I said to the OP, the two packages are built at the same time. There > is absolutely no way to do one without the other. > >> Earlier in the build of ppl-shlibs (running only 'fink install >> ppl-shlibs'... no dependencies identified), > > The dependencies should all be satisfied already > > <snip> > >> >> >> meanwhile, I have: >> >>> Tim-Nelsons-MacBook-Pro:lib tknelson$ pwd >>> /sw/src/fink.build/root-ppl-0.10.2-8/sw/lib >>> Tim-Nelsons-MacBook-Pro:lib tknelson$ ls >>> libppl.dylib libppl_c.dylib libpwl.dylib >>> libppl.la libppl_c.la libpwl.la >>> >> >> >> It looks like it wants to move the *directory* ppl, but that seems erroneous >> to me. I don't see any other glaring warnings or errors. >> > > No, that's the intended behavior. > > dpkg -L ppl-shlibs > /. > /sw32 > /sw32/lib > /sw32/lib/libppl.7.dylib > /sw32/lib/libppl_c.2.dylib > /sw32/lib/libpwl.4.dylib > /sw32/lib/ppl > /sw32/lib/ppl/libppl_java.jnilib > /sw32/lib/ppl/libppl_java.la > /sw32/lib/ppl/ppl_java.jar > ... > >> I hope this helps... let me know if there is anything else I can check. >> >> Cheers, >> Tim >> > > We got a build log from the OP, and comparing with my log there is a > notable difference way back in the configure section: > > <his> > checking for javah... > /System/Library/Frameworks/JavaVM.framework/Home/bin/javah > configure: WARNING: unable to include <jni.h> > checking whether jlong can contain data pointers... no > </his> > > vs. > > <mine> > checking for javah... > /System/Library/Frameworks/JavaVM.framework/Home/bin/javah > checking whether jlong can contain data pointers... yes > </mine> > > which results in the java build section being skipped completely. Its > lack leads to the missing ppl/ directory, which contains the Java files. > It also is really hard to detect without comparing against a system > where the build finishes. > > So the next place to look is in > /sw/src/fink.build/ppl-0.10.2-8/ppl-0.10.2/build/config.log, at the java > detection section. to see if there's more info. > > At that point, I get: > > configure:18212: checking if > /System/Library/Frameworks/JavaVM.framework/Home/bin/java works > configure:18249: > /System/Library/Frameworks/JavaVM.framework/Home/bin/java Test > configure:18252: $? = 0 > configure:18265: result: yes > configure:18321: checking for jar > configure:18339: found > /System/Library/Frameworks/JavaVM.framework/Home/bin/jar > configure:18351: result: > /System/Library/Frameworks/JavaVM.framework/Home/bin/jar > configure:18416: checking for javah > configure:18434: found > /System/Library/Frameworks/JavaVM.framework/Home/bin/javah > configure:18446: result: > /System/Library/Frameworks/JavaVM.framework/Home/bin/javah > configure:18469: g++ -E > - -I/System/Library/Frameworks/JavaVM.framework/Home/include > - -I/sw32/include conftest.cpp > configure:18476: $? = 0 > configure:18538: checking whether jlong can contain data pointers > configure:18568: g++ -o conftest -Winvalid-pch -g -O2 -frounding-math > - -g -O2 -pipe -fpch-preprocess -fPIC > - -I/System/Library/Frameworks/JavaVM.framework/Home/include > - -I/sw32/include -L/sw32/lib conftest.cpp >&5 > configure:18572: $? = 0 > configure:18578: ./conftest > configure:18582: $? = 0 > configure:18585: result: yes > > And do you have > /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Headers/jni.h > and /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h > ? > > - -- > 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/ > > iEYEARECAAYFAk2pikMACgkQB8UpO3rKjQ9B5wCfZfEGiHMWUSSOxWD7KE22IdVP > LVoAn1xhy5e8LNM4BHEYUbUq2itm+eZJ > =LuN1 > -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ 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
