Author Topic: compiling error gambas2-2.3.0  (Read 1955 times)

dim

  • Newbie
  • *
  • Posts: 12
compiling error gambas2-2.3.0
« on: March 14, 2008, 07:12:59 AM »
i try to compile gambas2-2.3.0 on a Suse 10.2 and i get the following error

Quote
make[4]: Entering directory `/home/dimos/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.3.0/gb.net.smtp/src'
/bin/sh ../libtool --tag=CC   --mode=link gcc -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -module -no-undefined  -o gb.net.smtp.la -rpath /usr/local/lib/gambas2 main.lo libsmtp_comm.lo libsmtp_connection.lo libsmtp_data.lo libsmtp_error.lo base64.lo comm.lo parts.lo quoted.lo CSmtpClient.lo -lglib-2.0
gcc -shared  .libs/main.o .libs/libsmtp_comm.o .libs/libsmtp_connection.o .libs/libsmtp_data.o .libs/libsmtp_error.o .libs/base64.o .libs/comm.o .libs/parts.o .libs/quoted.o .libs/CSmtpClient.o  -lglib-2.0  -Wl,-soname -Wl,gb.net.smtp.so.0 -o .libs/gb.net.smtp.so.0.0.0
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lglib-2.0
collect2: ld returned 1 exit status
make[4]: *** [gb.net.smtp.la] Error 1
make[4]: Leaving directory `/home/dimos/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.3.0/gb.net.smtp/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dimos/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.3.0/gb.net.smtp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/dimos/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.3.0/gb.net.smtp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dimos/Pliroforiki/DEVELOPMENT/Basic/gambas/gambas2-2.3.0'
make: *** [all] Error 2

any help?
« Last Edit: March 14, 2008, 10:11:01 AM by dim »

Linux Basic

compiling error gambas2-2.3.0
« on: March 14, 2008, 07:12:59 AM »

dim

  • Newbie
  • *
  • Posts: 12
Re: compiling error gambas2-2.3.0
« Reply #1 on: March 20, 2008, 10:47:19 AM »
ok the problem solved in 2.4.1 version

There was a mistake in the Makefile.am located in the gb.net.smtp/src directory.
I got an error because my glib libraries were not installed in a standard
directory.

Thanks Benoit.