Re: "SableVM SDK for Java" - preview release available for download

Peter Lovell <[email protected]> Thu, 5 May 2005 09:07:15 -0400
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
Hhmmm. Seems to have hit the wall building libgtkpeer ...

ld: .libs/gnu_java_awt_peer_gtk_GdkFontPeer.o illegal reference to 
symbol: _pango_ft2_font_map_create_context defined in indirectly 
referenced dynamic library /sw/lib/libpangoft2-1.0.0.dylib
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
make[4]: *** [libgtkpeer.la] Error 1

I'm not sure how to move ahead on this one (and am out of time on it 
for right now).

Any suggestions?  THanks.....Peter

On May 5, 2005, at 8:51 AM, Peter Lovell wrote:

> Hi all,
> I tried the the sdk package on Mac OS X and ran into a couple of 
> problems.
>
> These were on OS X 10.3.9 (Panther).
>
> First is that darwin_closure.S in libffi broke ...
> /bin/sh ./libtool --mode=compile gcc -I. 
> -I../.././../sablevm/src/libffi/include -Iinclude 
> -I../.././../sablevm/src/libffi/src -g -O2 -c -o 
> src/powerpc/darwin_closure.lo src/powerpc/darwin_closure.S
>  gcc -I. -I../.././../sablevm/src/libffi/include -Iinclude 
> -I../.././../sablevm/src/libffi/src -g -O2 -c 
> src/powerpc/darwin_closure.S  -fno-common -DPIC -o 
> src/powerpc/.libs/darwin_closure.o
> darwin_closure.S:249:unknown section attribute: live_support
>
> This has changed since the 3325 version, which worked fine. Replacing 
> this file with the version from 3325 allowed it to build.
>
> Second is minor - the test programs in popt failed to build. The 
> message you get is ...
> /bin/sh ./libtool --tag=CC --mode=link gcc  -Wall -g -O2   -o test1 
> -all-static test1.o libpopt_convenience.la
> gcc -Wall -g -O2 -o test1 -static test1.o  
> ./.libs/libpopt_convenience.a
> ld: can't locate file for: -lcrt0.o
>
> The problem is the "-all-static" and removing it allows the tests to 
> build. There's some special stuff for doing full-static builds on OS X 
> and I presently forget exactly what it is, but I don't think that's 
> required here. On OS X, full-static builds are usually only for 
> security-sensitive things which ship with the OS and will be kept in 
> sync with it.
>
> I'm not sure how to configure sdk with "--disable-gtk-peer" which is 
> what we normally use, so I thought that I'd get those items from fink. 
> That's ongoing right now, but I hit two issues with it (not sablevm)
>
> First is that one of the dependencies has a file whose checksum is 
> broken. This was the download ...
> curl -f -L -O http://www.oasis-open.org/docbook/xml/4.1.2/docbkx412.zip
> I've tried from several mirrors and they're all the same.
>
> Second is that you have to install unstable and from source, as the 
> installable binary for gtk2 is only version 2.2.4 and 2.4 or later is 
> required. This is a lengthy process (about an hour so far on a dual 
> G5) including the various dependencies. I'll update on how this goes.
>
> Cheers.....Peter
>
>
>
> On May 2, 2005, at 9:54 PM, Grzegorz B. Prokopski wrote:
>
>> Hi,
>>
>> It looks like we have a good season for preview releases :-)  But I 
>> bet
>> this one you will find interesting.  Simply fetch
>>
>> 	http://sablevm.org/people/gadek/sablevm-sdk-testing-0.9.tar.gz
>>
>> unpack, execute:
>>
>> ./configure && make
>> su
>> make install
>>
>> And in /usr/local/lib/sablevm you should get quite nice JAVA_HOME-like
>> environment.  I would also suggest to do:
>>
>> export PATH="/usr/local/lib/sablevm/bin:$PATH"
>>
>>
>> Why is it so special?
>>
>> The above tar archive includes:
>> * sablevm
>> * sablevm-classpath
>> * libffi
>> * libpopt
>> * jikes
>>
>> So:
>> * you should never have problems with installing libffi or libpopt
>>   "by hand" again
>> * No "my jikes is too old" issues (use --with-jikes=internal)
>> * No way to make a typo while specifying --prefix=...  to sablevm and
>>   sablevm-classpath.
>> * Your system libraries and system-wide jikes *are* used automatically
>>   if available.
>>
>>
>> This is a preview release and we will only be too happy to hear about
>> any problems you may have with it, especially at installation time.
>>
>> The goal of SableVM SDK for Java is that it should dance and sing for
>> you :-)  If it does not, or it could do better *please* *complain* !!!
>>
>> Either here, or by filling a bug report at
>>
>> http://sablevm.org/bugs/new
>>
>> Have fun!
>>
>> 		Grzegorz B. Prokopski
>>
>> PS: There's more to come.
>> -- 
>> Grzegorz B. Prokopski           <[email protected]>
>> SableVM - Free, LGPL'ed Java VM  http://sablevm.org
>> Why SableVM ?!?                  http://sablevm.org/wiki/Features
>> Debian GNU/Linux - the Free OS   http://www.debian.org
>>
>>
>> _______________________________________________
>> SableVM-user mailing list
>> [email protected]
>> http://sablevm.org/lists/control/listinfo/sablevm-user
>
>
> _______________________________________________
> SableVM-user mailing list
> [email protected]
> http://sablevm.org/lists/control/listinfo/sablevm-user