I’m guessing this is known, but any script I’ve got that loads rexml
emits these warnings:
c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
class has -' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has-’ without escape
c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
class has -' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has-’ without escape
c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has
`]’ wit
hout escape
I’ve seen this both in 1.8p3 and p4 (from the dm4lab.to mswin bin downloads:
I’m sure we still have problems left. Braves, try and find errors, on
as many platforms as possible, please.
Compiling on Red Hat Linux 8.0, I get this error when it tries to link
the OpenSSL extension:
~ ossl_bn.o: In function ossl_bn_s_pseudo_rand_range': ~ /home/jlj/src/ruby-1.8.0/ext/openssl/ossl_bn.c:476: undefined reference to BN_pseudo_rand_range’
~ collect2: ld returned 1 exit status
~ make[1]: *** [openssl.so] Error 1
~ make[1]: Leaving directory `/home/jlj/src/ruby-1.8.0/ext/openssl’
~ make: *** [all] Error 1
I also get this error with the latest ruby from CVS, so this problem
doesn’t appear to have been addressed yet. Please let me know what
additional information I can provide.
I’m sure we still have problems left. Braves, try and find errors, on
as many platforms as possible, please.
Find below the results of building preview4 on HP-UX;
I fiddled a bit with those (important!!) sha2 warnings and I have a
feeling I’m missing something obvious. Can’t get it to work
Furthermore I get a whole series of lines like this:
but those seem harmless to me.
Bye,
Kero.
$ uname -a
HP-UX aberti B.11.11 U 9000/800 513706597 unlimited-user license
$ CC=cc CFLAGS=+Z ./configure # gcc breaks on /usr/include/sys/socket.h
# +Z is required for linking tcltklib
$ make
…
$ make install
$ ruby -v
ruby 1.8.0 (2003-07-24) [hppa2.0w-hpux11.11]
···
cc: “io.c”, line 869: warning 604: Pointers are not assignment-compatible.
cc: “sha2.c”, line 218: warning 602: Integer constant exceeds its storage.
cc: “sha2.c”, line 281: warning 602: Integer constant exceeds its storage.
gcc -fPIC -g -O2 -I. -I/usr/local/ruby-1.8.0 -I/usr/local/ruby-1.8.0
-I/usr/local/ruby-1.8.0/ext/openssl -DHAVE_OPENSSL_CRYPTO_H -DHAVE_UNISTD_H
-DHAVE_SYS_TIME_H -DHAVE_EVP_MD_CTX_CREATE -DHAVE_EVP_MD_CTX_CLEANUP
-DHAVE_EVP_MD_CTX_DESTROY -DHAVE_PEM_DEF_CALLBACK -DHAVE_EVP_MD_CTX_INIT
-DHAVE_HMAC_CTX_INIT -DHAVE_HMAC_CTX_CLEANUP -DHAVE_X509_CRL_SET_VERSION
-DHAVE_X509_CRL_SET_ISSUER_NAME -DHAVE_X509_CRL_SORT
-DHAVE_X509_CRL_ADD0_REVOKED -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE
-DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SUB
-DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_VA_ARGS_MACRO
-DHAVE_OPENSSL_OCSP_H -DHAVE_ST_FLAGS -DHAVE_RB_OBJ_INIT_COPY -c ossl.c
In file included from /usr/include/openssl/ssl.h:179,
from ossl.h:34,
from ossl.c:11:
/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 ossl.h:34,
from ossl.c:11:
/usr/include/openssl/kssl.h:132: parse error before “krb5_enctype”
/usr/include/openssl/kssl.h:134: parse error before “FAR”
…
It looks like /usr/kerberos/include isn’t in the include path. Configure
should probably catch that, right? I configured it as ./configure
–prefix=/usr/local/ruby-1.8.0-preview4
Btw, would it make sense to change the top-level directory in the tar file to
“ruby-1.8.0-src” so that if people want to install to /usr/local/ruby-1.8.0
they can do so more easily?
Ben
···
On Thu July 24 2003 4:03 am, Yukihiro Matsumoto wrote:
I’m sure we still have problems left. Braves, try and find errors, on
as many platforms as possible, please.
ossl_config.c:147: bad macro argument list
ossl_config.c:147: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
:1:1: no macro name given in #define directive
make[1]: *** [ossl_config.o] Error 1
make: *** [all] Error 1
Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003;
root:xnu/xnu-344.34.obj~1/RELEASE_PPC Power Macintosh powerpc
OS X 10.2.[whatever current is]
-Brian
···
On Thursday, July 24, 2003, at 04:03 AM, Yukihiro Matsumoto wrote:
Hello,
I just put preview4 archive on the ftp server.
I’m sure we still have problems left. Braves, try and find errors, on
as many platforms as possible, please.
/usr/local/lib/ruby/1.8/tk.rb:940: warning: method redefined;
discarding old chooseDirectory
/usr/local/lib/ruby/1.8/tk.rb:1487:in const_missing': \ uninitialized constant Tk::Encoding::INTERP (NameError) from /usr/local/lib/ruby/1.8/tk.rb:1487:inencoding='
from /usr/local/lib/ruby/1.8/tk.rb:1522
from -e:1:in `require’
from -e:1
Mac OS X 10.3 Developer Preview has the following issue during build of
eval.c:
gcc -g -O2 -pipe -I. -I. -c eval.c
eval.c:8217: warning: static declaration for thread_switch' follows non-static eval.c: In function thread_switch’:
eval.c:8218: error: argument `n’ doesn’t match prototype
and later:
eval.c:9147: error: thread_abort' redeclared as different kind of symbol /usr/include/mach/ppc/thread_act.h:143: error: previous declaration of thread_abort’
eval.c:9147: warning: thread_abort' was declared extern’ and later static' eval.c: In function rb_thread_start_0’:
eval.c:9326: error: too few arguments to function thread_switch' eval.c:9351: error: too few arguments to function thread_switch’
eval.c: In function rb_thread_interrupt': eval.c:9595: error: too few arguments to function thread_switch’
eval.c: In function rb_thread_signal_raise': eval.c:9615: error: too few arguments to function thread_switch’
(and more instances of this)
Oh…
gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1435)
uname -a
Darwin zero.local. 7.0.0b1 Darwin Kernel Version 7.0.0b1: Mon Jun 16
23:01:44 PDT 2003; root:xnu/xnu-452.1.obj~1/RELEASE_PPC Power
Macintosh powerpc
Looks like eval.c’s functions are trying to override
/user/include/mach/thread* 's functions and losing.
Find below the results of building preview4 on HP-UX;
I fiddled a bit with those (important!!) sha2 warnings and I have a
feeling I’m missing something obvious. Can’t get it to work
Hmm, it seems HP-UX compiler does not provide sane definition of
uint64_t. I don’t know how to fix this. Anyone?
$gcc -v
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1
20020420 (prerelease)
···
On Thursday, July 24, 2003, at 03:50 PM, Brian McCallister wrote:
ossl_config.c:147: bad macro argument list
ossl_config.c:147: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
:1:1: no macro name given in #define directive
make[1]: *** [ossl_config.o] Error 1
make: *** [all] Error 1
Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003;
root:xnu/xnu-344.34.obj~1/RELEASE_PPC Power Macintosh powerpc
OS X 10.2.[whatever current is]
-Brian
On Thursday, July 24, 2003, at 04:03 AM, Yukihiro Matsumoto wrote:
Hello,
I just put preview4 archive on the ftp server.
I’m sure we still have problems left. Braves, try and find errors, on
as many platforms as possible, please.