[Gambas-user] Question Compiling gambas0.91
ron
ronstk at ...239...
Mon Mar 15 13:25:26 CET 2004
Hallo Benoit, Rob,
I'm tryng to make a RPM binary distribution for SuSE 8.2.
1)
At the moment I get several warnings and my polici is they should not occurs.
I know for several you can save put them in trahcan but this one i can't
remember seen these dereferencing warnings.May I forget these also?
gbc_class.c: In function `check_one_property_func':
gbc_class.c:605: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gbc_trans.c: In function `TRANS_get_number':
gbc_trans.c:69: warning: `dval' might be used uninitialized in this function
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -O2
-march=i586 -pipe -Wall -g -Os -c gbc_trans_code.c
gbc_trans_code.c: In function `TRANS_statement':
gbc_trans_code.c:169: warning: comparison between signed and unsigned
this one was save as you told in the past/
vb.c: In function `CVB_val':
vb.c:36: warning: dereferencing type-punned pointer will break strict-aliasing
rules
vb.c:38: warning: dereferencing type-punned pointer will break strict-aliasing
rules
2)
/usr/bin/install
-c .libs/lib.gb.qt.kde.lai /var/tmp/build-root-gambas/opt/lib/lib.gb.qt.kde.la
libtool: install: warning: remember to run `libtool --finish /opt/lib'
make[7]: Nothing to be done for `install-data-am'.
For `libtool --finish /opt/lib' I do not know how to fix that in the RPM yet.
3)
make[4]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91/src'
/bin/sh: line 1: gbc: command not found
make[3]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91/src'
/bin/sh: line 1: gba: command not found
make[2]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91/src'
/usr/bin/install: cannot stat `gambas-database-manager': No such file or
directory
make[2]: Entering directory `/usr/src/packages/BUILD/gambas-0.91'
make[3]: *** [install-exec-local] Error 1
make[3]: Entering directory `/usr/src/packages/BUILD/gambas-0.91'
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
Making symbolic links in /usr/bin...
make: *** [install-strip] Error 2
Bad exit status from /var/tmp/rpm-tmp.5247 (%install)
Installing the development environment...
Compiling Util...
Compiling gambas...
Compiling gambas-database-manager...
make[3]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91'
make[2]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91'
make[1]: Leaving directory `/usr/src/packages/BUILD/gambas-0.91'
Here the gbc and gba command not found,
`gambas-database-manager': No such file or directory
These are also not good I think.
---
It is build from the orginal gambas-091.tar.bz2 file and I found in
/var/tmp/build-root-gambas a opt/gambas/bin -lib and include directory with
the correct files in it, however not gambas self in bin,
and 4 new symbolic links gba,gbc,gbi, and gbx to in /usr/bin to /opt/bin/
the symlink in /usr/bin to /opt/gambas/bin is the orginal and not from the rpm
building process.
In fact, is it a good practice to send you the config.log and .status and/or a
dump of the make pass? Don't forget I'm newbie to do this.
The compiled version after release of the minor update works without found
problem. Only a few missing doc links.
Grts Ron
More information about the User
mailing list