Help! Can't compile!

I am running Yelllow Dog Linux 3.0 Sirius and I am trying to install
OpenRPG which requires wxPython.

I have not found any binary rpm's that seem to be available for ppc, so
I decided to do it by source. However, when I tried the source rpm's
they didn't work, and they bombed out with an error. I tried then the
regulard source.

Using the "new way" of installing, I compiled the first section [the
part about the "build" directory and gtk] fine, after that however, when
I tried to cd ../wxPython and then make, I received an error. Is this a
known problem?

What follows is the build process as I did it:

$ make clean
test -z "libtls" || rm -f libtls
rm -f *.o core *.core
rm -f *.o
test -z "" || rm -f
[noorah@glacier tls1.4]$ ./configure
loading cache ./config.cache
configure: error: /usr/local/openssl is not a valid directory
[noorah@glacier tls1.4]$ ./configure --with-ssl-dir=/usr
loading cache ./config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking if libgcc is needed to resolve openssl symbols... no
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for Cygwin environment... (cached) no
checking for object suffix... (cached) o
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for Tcl configuration... (cached) found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for Tcl private include files... Using srcdir found in
tclConfig.sh
checking for building with threads... no (default)
checking how to build libraries... shared
checking for build with symbols... no
checking for tclsh... (cached) /usr/lib/../bin/tclsh
creating ./config.status
creating Makefile
creating pkgIndex.tcl
[noorah@glacier tls1.4]$ make
cc -DVERSION=\"1.41\" -DPACKAGE=\"tls\" -DNO_IDEA=1 -DNO_RC5=1
-DUSE_TCL_STUBS=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
-DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1
-I/home/dburcaw/BUILD/tcltk/BUILD/tcltk-8.3.3/tcl8.3.3/generic
-I/home/dburcaw/BUILD/tcltk/BUILD/tcltk-8.3.3/tcl8.3.3/unix
-I"/usr/include" -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC
-c `echo ./tls.c` -o tls.o
In file included from /usr/include/openssl/ssl.h:179,
                 from tlsInt.h:39,
                 from tls.c:23:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                 from tlsInt.h:39,
                 from tls.c:23:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before
"kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before
"kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from tlsInt.h:39,
                 from tls.c:23:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
tls.c: In function `InfoCallback':
tls.c:190: warning: initialization discards qualifiers from pointer
target type
tls.c: In function `ImportObjCmd':
tls.c:811: warning: assignment from incompatible pointer type
make: *** [tls.o] Error 1
[noorah@glacier tls1.4]$

Oh man, sorry, I am afraid that's another build I did, forgive the
mistake. :frowning:

···

On Sun, 2003-05-04 at 00:17, Aaron Hsu wrote:

I am running Yelllow Dog Linux 3.0 Sirius and I am trying to install
OpenRPG which requires wxPython.

I have not found any binary rpm's that seem to be available for ppc, so
I decided to do it by source. However, when I tried the source rpm's
they didn't work, and they bombed out with an error. I tried then the
regulard source.

Using the "new way" of installing, I compiled the first section [the
part about the "build" directory and gtk] fine, after that however, when
I tried to cd ../wxPython and then make, I received an error. Is this a
known problem?

What follows is the build process as I did it:

$ make clean
test -z "libtls" || rm -f libtls
rm -f *.o core *.core
rm -f *.o
test -z "" || rm -f
[noorah@glacier tls1.4]$ ./configure
loading cache ./config.cache
configure: error: /usr/local/openssl is not a valid directory
[noorah@glacier tls1.4]$ ./configure --with-ssl-dir=/usr
loading cache ./config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking if libgcc is needed to resolve openssl symbols... no
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for Cygwin environment... (cached) no
checking for object suffix... (cached) o
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for Tcl configuration... (cached) found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for Tcl private include files... Using srcdir found in
tclConfig.sh
checking for building with threads... no (default)
checking how to build libraries... shared
checking for build with symbols... no
checking for tclsh... (cached) /usr/lib/../bin/tclsh
creating ./config.status
creating Makefile
creating pkgIndex.tcl
[noorah@glacier tls1.4]$ make
cc -DVERSION=\"1.41\" -DPACKAGE=\"tls\" -DNO_IDEA=1 -DNO_RC5=1
-DUSE_TCL_STUBS=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
-DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1
-I/home/dburcaw/BUILD/tcltk/BUILD/tcltk-8.3.3/tcl8.3.3/generic
-I/home/dburcaw/BUILD/tcltk/BUILD/tcltk-8.3.3/tcl8.3.3/unix
-I"/usr/include" -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC
-c `echo ./tls.c` -o tls.o
In file included from /usr/include/openssl/ssl.h:179,
                 from tlsInt.h:39,
                 from tls.c:23:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                 from tlsInt.h:39,
                 from tls.c:23:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before
"kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before
"kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from tlsInt.h:39,
                 from tls.c:23:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
tls.c: In function `InfoCallback':
tls.c:190: warning: initialization discards qualifiers from pointer
target type
tls.c: In function `ImportObjCmd':
tls.c:811: warning: assignment from incompatible pointer type
make: *** [tls.o] Error 1
[noorah@glacier tls1.4]$

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

Here is what the wxPython make is putting out:

/lib/wxPython/lib -pthread -Wl,-rpath -Wl,/usr/lib/wxPython/lib
-lwx_gtk-2.4
/usr/bin/ld: build/lib.linux-ppc-2.2/wxPython/wxc.so: undefined
versioned symbol name _restfpr_26_x@@WXGTK_2.4
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1
[noorah@glacier wxPython]$

I hope that clears things up. :slight_smile:

···

On Sun, 2003-05-04 at 00:25, Aaron Hsu wrote:

Oh man, sorry, I am afraid that's another build I did, forgive the
mistake. :frowning:

On Sun, 2003-05-04 at 00:17, Aaron Hsu wrote:
> I am running Yelllow Dog Linux 3.0 Sirius and I am trying to install
> OpenRPG which requires wxPython.
>
> I have not found any binary rpm's that seem to be available for ppc, so
> I decided to do it by source. However, when I tried the source rpm's
> they didn't work, and they bombed out with an error. I tried then the
> regulard source.
>
> Using the "new way" of installing, I compiled the first section [the
> part about the "build" directory and gtk] fine, after that however, when
> I tried to cd ../wxPython and then make, I received an error. Is this a
> known problem?
>
> What follows is the build process as I did it:
>
> $ make clean
> test -z "libtls" || rm -f libtls
> rm -f *.o core *.core
> rm -f *.o
> test -z "" || rm -f
> [noorah@glacier tls1.4]$ ./configure
> loading cache ./config.cache
> configure: error: /usr/local/openssl is not a valid directory
> [noorah@glacier tls1.4]$ ./configure --with-ssl-dir=/usr
> loading cache ./config.cache
> checking for gcc... (cached) cc
> checking whether the C compiler (cc ) works... yes
> checking whether the C compiler (cc ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking if libgcc is needed to resolve openssl symbols... no
> checking whether make sets ${MAKE}... (cached) yes
> checking for ranlib... (cached) ranlib
> checking for Cygwin environment... (cached) no
> checking for object suffix... (cached) o
> checking for mingw32 environment... (cached) no
> checking for executable suffix... (cached) no
> checking for Tcl configuration... (cached) found /usr/lib/tclConfig.sh
> checking for existence of /usr/lib/tclConfig.sh... loading
> checking for Tcl private include files... Using srcdir found in
> tclConfig.sh
> checking for building with threads... no (default)
> checking how to build libraries... shared
> checking for build with symbols... no
> checking for tclsh... (cached) /usr/lib/../bin/tclsh
> creating ./config.status
> creating Makefile
> creating pkgIndex.tcl
> [noorah@glacier tls1.4]$ make
> cc -DVERSION=\"1.41\" -DPACKAGE=\"tls\" -DNO_IDEA=1 -DNO_RC5=1
> -DUSE_TCL_STUBS=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1
> -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1
> -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
> -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
> -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
> -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
> -DHAVE_SYS_IOCTL_H=1
> -I/home/dburcaw/BUILD/tcltk/BUILD/tcltk-8.3.3/tcl8.3.3/generic
> -I/home/dburcaw/BUILD/tcltk/BUILD/tcltk-8.3.3/tcl8.3.3/unix
> -I"/usr/include" -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC
> -c `echo ./tls.c` -o tls.o
> In file included from /usr/include/openssl/ssl.h:179,
> from tlsInt.h:39,
> from tls.c:23:
> /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
> In file included from /usr/include/openssl/ssl.h:179,
> from tlsInt.h:39,
> from tls.c:23:
> /usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
> /usr/include/openssl/kssl.h:134: parse error before "FAR"
> /usr/include/openssl/kssl.h:135: parse error before '}' token
> /usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
> /usr/include/openssl/kssl.h:147: parse error before '*' token
> /usr/include/openssl/kssl.h:148: parse error before '*' token
> /usr/include/openssl/kssl.h:149: parse error before '*' token
> /usr/include/openssl/kssl.h:149: parse error before '*' token
> /usr/include/openssl/kssl.h:150: parse error before '*' token
> /usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
> /usr/include/openssl/kssl.h:151: parse error before '*' token
> /usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
> /usr/include/openssl/kssl.h:153: parse error before '*' token
> /usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
> /usr/include/openssl/kssl.h:155: parse error before '*' token
> /usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
> /usr/include/openssl/kssl.h:157: parse error before '*' token
> /usr/include/openssl/kssl.h:159: parse error before "context"
> /usr/include/openssl/kssl.h:160: parse error before
> "kssl_build_principal_2"
> /usr/include/openssl/kssl.h:160: parse error before "context"
> /usr/include/openssl/kssl.h:163: parse error before
> "kssl_validate_times"
> /usr/include/openssl/kssl.h:163: parse error before "atime"
> /usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
> /usr/include/openssl/kssl.h:165: parse error before '*' token
> /usr/include/openssl/kssl.h:167: parse error before "enctype"
> In file included from tlsInt.h:39,
> from tls.c:23:
> /usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
> /usr/include/openssl/ssl.h:931: parse error before '}' token
> tls.c: In function `InfoCallback':
> tls.c:190: warning: initialization discards qualifiers from pointer
> target type
> tls.c: In function `ImportObjCmd':
> tls.c:811: warning: assignment from incompatible pointer type
> make: *** [tls.o] Error 1
> [noorah@glacier tls1.4]$
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

Aaron Hsu wrote:

Here is what the wxPython make is putting out:

/lib/wxPython/lib -pthread -Wl,-rpath -Wl,/usr/lib/wxPython/lib
-lwx_gtk-2.4
/usr/bin/ld: build/lib.linux-ppc-2.2/wxPython/wxc.so: undefined
versioned symbol name _restfpr_26_x@@WXGTK_2.4
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1
[noorah@glacier wxPython]$

I hope that clears things up. :slight_smile:

Not really. I probably could have solved your other problem easier...

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!