Problem building gobject-introspection-1.42.0/2/3



Hi Philip Withnall and Michael Catanzaro,
    I ran gmake with V=1 and it did produce more output.
From the output I found out that it could not find an external symbol.
After searching the WWW with the symbol I found a comment that indicated
that they symbol was supposed to be in glib-2 at a level > 38.  Since the version
that I have installed is 42 the problem must be some where else.
    After looking at the configure log and the gmake log I concluded
that things were getting confused because I have two version of glib
installed on my system.  One in /opt/freeware and the other in /opt/alinux.
After looking at my export symbols I concluded that I had confused
configure and gmake so I began all over again.  This time I did not
use the setting that was used to build /opt/freeware binarys.
    I guess I guessed correctly.
    This time configure and gmake worked just find. 
gobject-introspection compile without any errors.

    Argggg!  I just tried to build gobject-introspection-1.42.0
from scratch.  That is; I removed the old build directory and then
unpacked the xz file again and proceeded to try and build it.
    Now it will not  build.  Has the same error I started with.
    I traced it down to the fact that configure refuses to link to
the correct version of python.  For some reason it keeps linking
to the python that is in /opt/freeware/bin and not /opt/alinux/bin.
    The first library in my PATH global variable is /opt/alinux/bin
and when I do:

                $ which python
                /opt/alinux/bin/python
                $ echo $PATH
                /opt/alinux/bin:/usr/bin:/etc:/usr/sbin:/opt/freeware/bin:/opt/freeware/sbin:/usr/ucb:/usr/dt/bin:/usr/bin/X11:/sbin:/usr/ccs/bin:/home/surfer::/usr/bin/Mycommands:/usr/local/bin:/usr/lib/instl:/usr/java5/jre/bin:/usr/java5/bin:/usr/lpp/Adobe/Acrobat7.0


$ ls -la /opt/alinux/bin/pyth*                            
lrwxrwxrwx    1 root     system            7 Feb 05 20:40 /opt/alinux/bin/python -> python2
lrwxrwxrwx    1 root     system           14 Feb 05 20:40 /opt/alinux/bin/python-config -> python2-config
lrwxrwxrwx    1 root     system            9 Feb 05 20:40 /opt/alinux/bin/python2 -> python2.7
lrwxrwxrwx    1 root     system           16 Feb 05 20:40 /opt/alinux/bin/python2-config -> python2.7-config
-rwxr-xr-x    1 root     system       172945 Feb 05 20:38 /opt/alinux/bin/python2.7
-rwxr-xr-x    1 root     system         1688 Feb 05 20:40 /opt/alinux/bin/python2.7-config


it finds the correct version of python; but for some reason when configure
runs it seems to be finding /opt/freeware/bin/python


        checking for python2.6... /usr/bin/python2.6
        checking for python2.6 version... 2.6
        checking for python2.6 platform... aix6
        checking for python2.6 script directory... ${prefix}/lib/python2.6/site-packages
        checking for python2.6 extension module directory... ${exec_prefix}/lib/python2.6/site-packages

$ ls -la /usr/bin/python2.6
lrwxrwxrwx    1 root     system           32 Jan 30 19:20 /usr/bin/python2.6 -> ../../opt/freeware/bin/python2.6
$ ls -la /usr/bin/python                                   
lrwxrwxrwx    1 root     system           29 Jan 30 19:20 /usr/bin/python -> ../../opt/freeware/bin/python
$ ls -la /opt/freeware/bin/pyth*
-rwxr-xr-x    2 root     system        66812 Aug 02 2013  /opt/freeware/bin/python
lrwxrwxrwx    1 root     system           16 Jan 30 19:19 /opt/freeware/bin/python-config -> python2.6-config
-rwxr-xr-x    2 root     system        66812 Aug 02 2013  /opt/freeware/bin/python2.6
-rwxr-xr-x    1 root     system         1427 Aug 02 2013  /opt/freeware/bin/python2.6-config
-rwxr-xr-x    2 root     system        67955 Aug 02 2013  /opt/freeware/bin/python2.6_64
-rw-r--r--    1 root     system         1430 Aug 02 2013  /opt/freeware/bin/python2.6_64-config
-rwxr-xr-x    2 root     system        67955 Aug 02 2013  /opt/freeware/bin/python_64
lrwxrwxrwx    1 root     system           19 Jan 30 19:19 /opt/freeware/bin/python_64-config -> python2.6_64-config
$ diff /opt/freeware/bin/python /opt/freeware/bin/python2.6


    If I set the global symbol PYTHON=/opt/alinux/bin/python or python2.7
I get the following error message from configure:

            checking whether /opt/alinux/bin/python version is >= 2.6... configure: error: Python interpreter is too old
            no


    I must be doing something wrong; but I just do not know what it is.
    I think I have set all the global variable correctly.


AUTHSTATE=compat
CC=gcc
CLCMD_PASSTHRU=1
CXX=g++
DISPLAY=:0.0
DTAPPSEARCHPATH=/home/coding/.dt/appmanager:/etc/dt/appconfig/appmanager/%L:/etc/dt/appconfig/appmanager/C:/usr
/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
DTDATABASESEARCHPATH=/home/coding/.dt/types,/etc/dt/appconfig/types/%L,/etc/dt/appconfig/types/C,/usr/dt/appcon
fig/types/%L,/usr/dt/appconfig/types/C
DTHELPSEARCHPATH=/home/coding/.dt/help/coding-localhost-0/%H:/home/coding/.dt/help/coding-localhost-0/%H.sdl:/h
ome/coding/.dt/help/coding-localhost-0/%H.hv:/home/coding/.dt/help/%H:/home/coding/.dt/help/%H.sdl:/home/coding
/.dt/help/%H.hv:/etc/dt/appconfig/help/%L/%H:/etc/dt/appconfig/help/%L/%H.sdl:/etc/dt/appconfig/help/%L/%H.hv:/
etc/dt/appconfig/help/C/%H:/etc/dt/appconfig/help/C/%H.sdl:/etc/dt/appconfig/help/C/%H.hv:/usr/dt/appconfig/hel
p/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/ap
pconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
DTSCREENSAVERLIST='StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame StartDtscreenHop StartDtscreenIma
ge StartDtscreenLife     StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank'
DTUSERSESSION=coding-localhost-0
EDITOR=vi
ENV=.env
FCEDIT=vi
HOME=/home/coding
LANG=en_US
LC__FASTMSG=true
LD=ld
LOCPATH=/usr/lib/nls/loc
LOGIN=coding
LOGNAME=coding
MAIL=/var/spool/mail/coding
MANPATH=/usr/share/man:/opt/freeware/man:/usr/dt/man:/usr/local/share/man
MOZ_PRINTER_NAME=ps
NETSERVER=/usr/lpp/internet/server_root/pub
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat:/usr/dt/lib/nls/msg/C/%N.cat:/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%
N.cat
ODMDIR=/etc/objrepos
PAGER=pg
PATH=/opt/alinux/bin:/usr/bin:/etc:/usr/sbin:/opt/freeware/bin:/opt/freeware/sbin:/usr/ucb:/usr/dt/bin:/usr/bin
/X11:/sbin:/usr/ccs/bin:/home/coding::/usr/bin/Mycommands:/usr/local/bin:/usr/lib/instl:/usr/java5/jre/bin:/usr
/java5/bin:/usr/lpp/Adobe/Acrobat7.0
PKG_CONFIG_PATH=/opt/alinux/lib/pkgconfig/
PWD=/home/coding/DownLoadLFNs/HTML/NEWS/BuildFirefox/DONE/gobject-introspection-1.42.0
PYTHON=''
SESSIONTYPE=dt
SESSION_SVR=localhost
SHELL=/bin/ksh
TERM=dtterm
TERMINAL_EMULATOR=dtterm
TZ=PST8PDT
USER=coding
VISUAL=/usr/bin/vi
WINDOWID=62914616
XMBINDDIR=/usr/dt/lib/bindings
XMICONBMSEARCHPATH=/home/coding/.dt/icons/%B%M.bm:/home/coding/.dt/icons/%B%M.pm:/home/coding/.dt/icons/%B:/etc
/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconf
ig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B
%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/d
t/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
XMICONSEARCHPATH=/home/coding/.dt/icons/%B%M.pm:/home/coding/.dt/icons/%B%M.bm:/home/coding/.dt/icons/%B:/etc/d
t/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig
/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M
.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/
appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
_=/opt/alinux/bin:/usr/bin:/etc:/usr/sbin:/opt/freeware/bin:/opt/freeware/sbin:/usr/ucb:/usr/dt/bin:/usr/bin/X1
1:/sbin:/usr/ccs/bin:/home/coding::/usr/bin/Mycommands:/usr/local/bin:/usr/lib/instl:/usr/java5/jre/bin:/usr/ja
va5/bin:/usr/lpp/Adobe/Acrobat7.0

    I would really appreciate some help!

Bye,
Dwight

P.S.
    I should have left well enough alone...
    Sorry about all the above junk.  Just do not know
what is significant.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]