That's strange. I've tested it and it builded fine for me (I'm using FreeBSD 4). Are you sure you are using exactly the latest mysql-4.0.18-20040214 I rolled before? And under what OS are you
$ rpm -ivh /tmp/openpkg/rep/current/SRC/mysql-4.0.18-20040214.src.rpm 1:mysql ########################################### [100%] [activate with_ssl in mysql.spec] $ rpm -ba local/RPM/SRC/mysql/mysql.spec [snip] same error in local/RPM/TMP/mysql-4.0.18/strings
$ make if /home/www-test/local/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O3 -DDBUG_OFF -O2 -pipe -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -MT strxmov.o -MD -MP -MF ".deps/strxmov.Tpo" \ -c -o strxmov.o `test -f 'strxmov.c' || echo './'`strxmov.c; \ then mv -f ".deps/strxmov.Tpo" ".deps/strxmov.Po"; \ else rm -f ".deps/strxmov.Tpo"; exit 1; \ fi In file included from strxmov.c:33: ../include/my_global.h:1129:30: openssl/opensslv.h: No such file or directory make: *** [strxmov.o] Error 1
seems an include problem: adding -I/home/www-test/local/include solves it but why ... no openssl in DEFAULT_INCLUDES in Makefile but there is in Makefile.in ???
redo with stok mysql src rpm
$ grep -n DEFAULT_INCLUDES local/RPM/TMP/mysql-4.0.18/strings/Makefile* local/RPM/TMP/mysql-4.0.18/strings/Makefile:420:DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) local/RPM/TMP/mysql-4.0.18/strings/Makefile:440:COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ local/RPM/TMP/mysql-4.0.18/strings/Makefile:442:LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ local/RPM/TMP/mysql-4.0.18/strings/Makefile.in:420:DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) local/RPM/TMP/mysql-4.0.18/strings/Makefile.in:440:COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ local/RPM/TMP/mysql-4.0.18/strings/Makefile.in:442:LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
even when i patch it and openssl includes is in the two files, it fails on the same error ???
building?Solaris 9
Regards
Julien
______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
