Menu

#152 librtserver: yes/lib64: No such file or directory

unexpected behavior
closed-fixed
5
2008-05-07
2008-01-09
Dennis
No

Compiling from source on a 32 bit system (linux) and the make fails with;

-O3 -c -o rtserver.lo `test -f 'rtserver.c' || echo './'`rtserver.c
/bin/sh ../../libtool --silent --mode=link gcc -Iyes/include -Iyes/include/linux -O2 -march=athlon64 -pipe -pipe -fno-strict-aliasing -fno-common -fexceptions -g -O3 -s -pipe -fno-strict-aliasing -fno-common -fexceptions -g -O3 -o librtserver.la -rpath /opt/lunar/brlcad/lib -version-info 19:1 -shrext .jnilib -Lyes/lib64 -Lyes/lib -module rtserver.lo ../../src/libbu/libbu_nil.la ../../src/libbn/libbn_nil.la ../../src/librt/librt_nil.la ../../src/other/openNURBS/libopenNURBS_nil.la -ltcl8.5
../../libtool: line 1323: cd: yes/lib64: No such file or directory
libtool: link: cannot determine absolute directory name of `yes/lib64'
make[2]: *** [librtserver.la] Error 1
make[2]: Leaving directory `/usr/src/brlcad-7.10.4/src/librtserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/brlcad-7.10.4/src'
make: *** [all-recursive] Error 1

My guess is it has something to do with the these in the brlcad-7.10.4/src/librtserver/Makefile;

JAVA_CFLAGS = -Iyes/include -Iyes/include/linux
JAVA_LDFLAGS = -shrext .jnilib -Lyes/lib64 -Lyes/lib

Discussion

  • Sean Morrison

    Sean Morrison - 2008-01-09

    Logged In: YES
    user_id=785737
    Originator: NO

    Dennis,

    Sounds like you provided a configure flag for java (maybe --with-java or --with-jdk), which isn't right. The --with-jdk configure option expects a path so since a path wasn't given, it falls back to default autoconf behavior and just sets the variable to "yes". We should check for the yes condition, of course, but unless you intend to write Java code that uses BRL-CAD, I'd just suggest leaving the option off (or adding --without-jdk if you never added it). Turning on Java just enables the compilation of some JNI library bindings that are useful to Java developers only, there's no BRL-CAD application that uses Java at this time. You don't need Java to compile or run BRL-CAD, it's not a dependency.

    Cheers!
    Sean

     
  • Sean Morrison

    Sean Morrison - 2008-01-09
    • assigned_to: nobody --> brlcad
     
  • Dennis

    Dennis - 2008-01-09

    Logged In: YES
    user_id=53417
    Originator: YES

    Yeah, the --with-jdk flag was given. This was my first attempt at compiling brlcad from source so didn't realize it's for mainly developer use. No problem then and this can be closed.

    BTW, thanks for the speedy response.

     
  • Sean Morrison

    Sean Morrison - 2008-05-07
    • status: open --> closed-fixed
     
  • Sean Morrison

    Sean Morrison - 2008-05-07

    Logged In: YES
    user_id=785737
    Originator: NO

    No problem. The configure template was at least changed so that it doesn't use the 'yes' results when a path isn't specified. It still probably won't work without a path, but at least it won't be as obtuse about it. Cheers!

     

Log in to post a comment.