LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   Problem with compiling and installing SIM (http://www.linuxquestions.org/questions/suse-novell-60/problem-with-compiling-and-installing-sim-411825/)

Pepe93 02-05-2006 04:15 AM

Problem with compiling and installing SIM
 
Hi to all in the board,

I (Newbie) wanted to "update"/install the latest version of SIM, as the version which came with the packet has some bugs.

Thus, I followed the instructions on:
sim-im.berlios.de/wiki/Download

during the compilation I received a lot of warning messages:

Quote:

/usr/lib/qt3/include/private/qucom_p.h:69: warning: 'struct QUBuffer' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:77: warning: 'struct QUType' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:104: warning: 'struct QUType_Null' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:287: warning: 'struct QUType_enum' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:307: warning: 'struct QUType_ptr' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:326: warning: 'struct QUType_iface' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:345: warning: 'struct QUType_idisp' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:364: warning: 'struct QUType_bool' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:383: warning: 'struct QUType_int' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:403: warning: 'struct QUType_double' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:423: warning: 'struct QUType_charstar' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucom_p.h:444: warning: 'struct QUType_QString' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucomextra_p.h:65: warning: 'struct QUType_QVariant' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/private/qucomextra_p.h:87: warning: 'struct QUType_varptr' has virtual functions but non-virtual destructor
/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-strict-aliasing -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib -o zodiak.la -rpath /usr/local/network/sim/lib/sim -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -avoid-version -L../../sim/.libs -L/usr/lib/qt3/lib -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib zodiak.lo ../../sim/libsim.la -lkdecore -lkdeui -lkio -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread
rm -fr .libs/zodiak.la .libs/zodiak.lai .libs/zodiak.so
But seems to finish completely.

Then the installation process stops here:
Quote:

.
.
(cd /usr/local/network/sim/lib && rm -f libsim.so && ln -s libsim.so.0.0.0 libsim.so)
/usr/bin/install -c -p .libs/libsim.lai /usr/local/network/sim/lib/libsim.la
PATH="$PATH:/sbin" ldconfig -n /usr/local/network/sim/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/network/sim/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "NONE/bin" || mkdir -p -- "NONE/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'sim' 'NONE/bin/sim'
libtool: install: `NONE/bin' must be an absolute directory name
Try `libtool --help --mode=install' for more information.
make[3]: *** [install-binPROGRAMS] Fehler 1
make[3]: Leaving directory `/home/pepe/sim/sim'
make[2]: *** [install-am] Fehler 2
make[2]: Leaving directory `/home/pepe/sim/sim'
make[1]: *** [install-recursive] Fehler 1
make[1]: Leaving directory `/home/pepe/sim/sim'
make: *** [install-recursive] Fehler 1
I don't know if this is related in any way with the warning messages from compilation.

If anyone could give me some hints on this, I would appreciate this a lot!

Cheers,
Pepe

abisko00 02-06-2006 02:26 AM

Have you tried to run ./configure with a prefix? It looks to me like the installation path has not been set properly (NONE).

Pepe93 02-07-2006 04:56 AM

Hey abisko00,

yes, I already tried this option, but it neither worked.

I tried this with the Rev.275. Now I could succesfully install Rev.105. Anyway I am still wondering that with the newest Rev. it wont work. (I also tried some Revs between 275 and 105).

Thanks!
Pepe


All times are GMT -5. The time now is 03:57 PM.