Hm... From my POV using implementation specific classes which can
improve performance is preffered even in implementation of public
interfaces. This is what gives advantage of one implementation over
the other.
WBR,
Pavel.
On Mon, Dec 22, 2008 at 12:37 PM, Aleksey Shipilev
<[email protected]> wrote:
> Hm... So the issue is, Xtst could not be found even at /usr/lib64?
> Maybe the permissions are faulty? Can you show the output of this command?
>
> $ ls -la /usr/lib64/libXtst*
>
> Thanks,
> Aleksey.
>
> On Mon, Dec 22, 2008 at 12:06 PM, Oscar Bacho <[email protected]> wrote:
>> On Mon, Dec 22, 2008 at 4:21 PM, Aleksey Shipilev <
>>
>>> [email protected]> wrote:
>>>
>>> > Hi, Oscar.
>>> >
>>> > On Mon, Dec 22, 2008 at 11:06 AM, Oscar Bacho <[email protected]>
>>> > wrote:
>>> > > In Fedora 10 the path /usr/X11R6/lib64 is not.
>>> > > The lib's Xtst, Xext are installed in /usr/lib64 according to:
>>> > > rpm -q -l libXtst
>>> > > /usr/lib64/libXtst.so.6
>>> > > /usr/lib64/libXtst.so.6.1.0
>>> >
>>> > Would it help to add /usr/lib64 to makefile? To do that:
>>> >
>>> > 1. Locate the makefile. The corresponding place in SVN is:
>>> >
>>> >
>>> http://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/depends/build/platform/
>>> >
>>> > 2. Fix the XLIBS line:
>>> > XLIBS = -L/usr/lib64 -L/usr/X11R6/lib64 -lX11 -lXft -lXext -lXtst
>>> >
>>> > 3. Run the build again to be sure it works.
>>> >
>>> > Thanks,
>>> > Aleksey.
>>> >
>>>
>> It do not work
>>
>> See the nex error:
>>
>> [exec] echo "HYGL_0.1 {" >libgl.exp
>> [exec] echo " global :" >>libgl.exp
>> [exec] sed -e's/^/ /;s/$/;/' <exports.txt >>libgl.exp
>> [exec] echo " local : *;" >>libgl.exp
>> [exec] echo "};" >>libgl.exp
>> [exec] cc -shared -Wl,-soname=libgl.so -Wl,--version-script,libgl.exp
>> -o ../libgl.so \
>> [exec] ../shared//blitter.o ../shared//gifdecoder.o
>> ../shared//LUTTables.o ../shared//pngdecoder.o
>> ../shared//SurfaceDataStructure.o gl.o XBlitter.o XGraphics2D.o
>> LockingKeys.o -Xlinker --start-group
>> -L/home/oscar/harmony/working_classlib/deploy/lib/
>> -L/home/oscar/harmony/working_classlib/deploy/jdk/jre/bin/
>> /home/oscar/harmony/working_classlib/deploy/lib/libhycommon.a -lhythr
>> /home/oscar/harmony/working_classlib/deploy/lib/libhyzip.a -lhyzlib
>> /home/oscar/harmony/working_classlib/deploy/lib/libhypool.a
>> /home/oscar/harmony/working_classlib/deploy/lib/libhyfdlibm.a -lvmi -Xlinker
>> --end-group -lc -lm -ldl -lpng -lstdc++ -L/usr/lib64 -L/usr/X11R6/lib64
>> -lX11 -lXft -lXext -lXtst
>> [exec] /usr/bin/ld: cannot find -lXtst
>> [exec] collect2: ld devolvió el estado de salida 1
>> [exec] make: *** [../libgl.so] Error 1
>>
>> BUILD FAILED
>>
>> Thanks
>>
>>
>> Oscar Bacho
>>
>