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

Reply via email to