[Gambas-user] Gambas 1.9.11 on Suse 9.1

m.galm m.galm at ...31...
Mon Jul 11 01:55:24 CEST 2005


Hello.
 
Here is what i got during the Installation of gambas2-1.9.11 on a SUSE9.1 
Sytem.

./configure wents fine after i upgraded GTK to 2.6.8 and it ends with:

************************************************************

THESE COMPONENTS ARE DISABLED:

- gb.clanlib
- gb.db.mysql
- gb.db.odbc
- gb.db.sqlite
- gb.db.sqlite3
- gb.sdl

************************************************************



make ends in the following Error:

.
.
.
Making all in gb.pcre
make[2]: Entering directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre'
make  all-recursive
make[3]: Entering directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre'
Making all in src
make[4]: Entering directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    
-pipe -Wall -fno-strict-aliasing -g -Os  -MT main.lo -MD -MP -MF 
".deps/main.Tpo" -c -o main.lo main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; 
exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -g -Os -MT 
main.lo -MD -MP -MF .deps/main.Tpo -c main.c  -fPIC -DPIC -o .libs/main.o
main.c: In function `GB_INIT':
main.c:51: warning: implicit declaration of function `REGEXP_init'
main.c: In function `GB_EXIT':
main.c:59: warning: implicit declaration of function `REGEXP_exit'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    
-pipe -Wall -fno-strict-aliasing -g -Os  -MT regexp.lo -MD -MP -MF 
".deps/regexp.Tpo" -c -o regexp.lo regexp.c; \
then mv -f ".deps/regexp.Tpo" ".deps/regexp.Plo"; else rm -f 
".deps/regexp.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -g -Os -MT 
regexp.lo -MD -MP -MF .deps/regexp.Tpo -c regexp.c  -fPIC -DPIC 
-o .libs/regexp.o
regexp.c:368: error: `PCRE_ERROR_BADUTF8_OFFSET' undeclared here (not in a 
function)
regexp.c:368: error: initializer element is not constant
regexp.c:368: error: (near initialization for `CRegexpDesc[29].val2')
regexp.c:368: error: initializer element is not constant
regexp.c:368: error: (near initialization for `CRegexpDesc[29]')
regexp.c:370: error: initializer element is not constant
regexp.c:370: error: (near initialization for `CRegexpDesc[30]')
regexp.c:371: error: initializer element is not constant
regexp.c:371: error: (near initialization for `CRegexpDesc[31]')
regexp.c:372: error: initializer element is not constant
regexp.c:372: error: (near initialization for `CRegexpDesc[32]')
regexp.c:374: error: initializer element is not constant
regexp.c:374: error: (near initialization for `CRegexpDesc[33]')
make[4]: *** [regexp.lo] Fehler 1
make[4]: Leaving directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/monty/Documents/gambas2-1.9.11'
make: *** [all] Fehler 2


Now I tryed ./configure --enable-pcre=no   and ./configure --disable-pcre=yes
Both are ending with :

************************************************************

THESE COMPONENTS ARE DISABLED:

- gb.clanlib
- gb.db.mysql
- gb.db.odbc
- gb.db.sqlite
- gb.db.sqlite3
- gb.sdl

************************************************************
 
Shouldnt I expect the pcre there too ? I dont know :)

Anyway, the make and make install went fine now with no Errors,
but when i start gambas @ the Commandline with "gambas2" i get this :

ERROR: #27: Cannot load component 'gb.pcre': cannot find library file

No wonder coz i disabled it...
Any Ideas ?


Michael Galm




More information about the User mailing list