MySQL Forums
Forum List  »  MySQL Workbench

Re: WorkBench compile problems
Posted by: Rob Lee
Date: June 30, 2006 08:22AM

Thanks for the reply. I've grabbed the 2.0.11 src (http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-2.0.11.tar.gz) and successfully installed.

Running :

export PKG_CONFIG=/usr/bin/pkg-config
sh autogen.sh --enable-grt --enable-canvas --disable-java-modules --with-lua-includes=/usr/include/lua5.0

Now gives (tail -20)

Making all in grtsh
make[3]: Entering directory `/home/robl/src/mysql-gui-common/source/grtsh'
g++ -g -O2 -o grtsh grtsh-grtsh.o ../../library_grt_modules/source/libgrtmods.a ../../library_sql_resultset/source/libgrtsqlrs.a ../../library_sql_resultset/source/libsqlrs.a ../../library_sql_parser/source/libsqlparser.a ../../library_grt/source/libgrt.a ../../library/source/libmysqlx.a ../../library_util/source/libguiutil.a -pthread -lgthread-2.0 -lglib-2.0 -lxml2 -lz -lm -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -L/usr/lib -lpcre -llua -llualib -lexpat -luuid /usr/lib/python2.4/config/libpython2.4.a -lpthread -ldl -lutil -Xlinker -export-dynamic -ldl -lstdc++
/usr/bin/ld: cannot find -llualib
collect2: ld returned 1 exit status
make[3]: *** [grtsh] Error 1
make[3]: Leaving directory `/home/robl/src/mysql-gui-common/source/grtsh'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/robl/src/mysql-gui-common/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/robl/src/mysql-gui-common'
make: *** [all] Error 2


So I think it's passed the previous compile errors and the linker is now failing to find the lua libs ??

I have :

/usr/lib/liblualib50.so.5.0
/usr/lib/liblualib50.so.5
/usr/lib/liblualib50.a
/usr/lib/liblualib50.so

and

/usr/lib/liblua50.a
/usr/lib/liblua50.so

So I'm not sure what is wrong ... Any suggestions ?

Cheers,

Rob



Edited 1 time(s). Last edit at 06/30/2006 08:22AM by Rob Lee.

Options: ReplyQuote


Subject
Written By
Posted
June 26, 2006 02:57PM
June 30, 2006 03:42AM
Re: WorkBench compile problems
June 30, 2006 08:22AM
June 30, 2006 03:35PM
July 10, 2006 12:35PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.