Hi everybody...

I've searched thrugh the lists (IMHO the search engine is
slow and the output sucks: what about a date column at the
beginning of each row in the post list and in search results?)
and the manual. This is the 3rd time I post about this
problems but it looks like nobody can give me an answer ...

I wonder if it is possible at all to build rpm MySQL 3.23.49
binaries for RedHat 6.2. Is it possible? I've not been able to
build rpm for my platform on three different machines.

I've tried to

   rpm --rebuild MySQL-3.23.49-1.src.rpm

After many lines of compiling log I get the following:









[... snip ...]
lo  dbug.lo  -lz -lcrypt -lnsl -lm
rm -fr .libs/libmysqlclient.la .libs/libmysqlclient.*
.libs/libmysqlclient.*
ar cru .libs/libmysqlclient.a  libmysql.o net.o violite.o password.o
get_password.o errmsg.o my_init.o my_static.o my_malloc.o my_realloc.o
my_create.o my_delete.o mf_tempfile.o my_open.o mf_casecnv.o my_read.o
my_write.o errors.o my_error.o my_getwd.o my_div.o mf_pack.o my_messnc.o
mf_dirname.o mf_fn_ext.o mf_wcomp.o typelib.o safemalloc.o my_alloc.o
mf_format.o mf_path.o mf_unixpath.o my_fopen.o my_symlink.o my_fstream.o
mf_loadpath.o my_pthread.o my_thr_init.o thr_mutex.o mulalloc.o string.o
default.o my_compress.o array.o my_once.o list.o my_net.o charset.o
hash.o mf_iocache.o my_seek.o my_pread.o mf_cache.o getopt.o getopt1.o
getvar.o my_lib.o strmov.o strxmov.o strnmov.o strmake.o strend.o
strnlen.o strfill.o is_prefix.o int2str.o str2int.o strinstr.o strcont.o
strcend.o bchange.o bmove.o bmove_upp.o longlong2str.o strtoull.o
strtoll.o llstr.o ctype.o ctype-big5.o ctype-czech.o ctype-euc_kr.o
ctype-gb2312.o ctype-gbk.o ctype-sjis.o ctype-tis620.o ctype-ujis.o
dbug.o
ranlib .libs/libmysqlclient.a
creating libmysqlclient.la
(cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la
libmysqlclient.la)
make[2]: Leaving directory
`/usr/src/redhat/BUILD/mysql-3.23.49/libmysql'
Making all in client
make[2]: Entering directory `/usr/src/redhat/BUILD/mysql-3.23.49/client'
gcc -DUNDEF_THREADS_HACK -I./../include
-I../include -I./.. -I..                         -I..    -O3 -DDBUG_OFF
 -O3                -felide-constructors -fno-exceptions -fno-rtti
              -fno-implicit-templates -fno-exceptions -fno-rtti -fpermis
sive -I/usr/local/mysql-glibc/include -c mysql.cc
In file included from mysql.cc:48:
/usr/include/curses.h:200: warning: `ERR' redefined
/usr/include/sys/ucontext.h:74: warning: this is the location of the
previous definition
cc1plus: Invalid option `-fpermissive'
In file included from client_priv.h:19,
                 from mysql.cc:28:
../include/global.h:685: abstract declarator used as declaration
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.49/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/mysql-3.23.49'
make: *** [all-recursive-am] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.7029 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.7029 (%build)








What's wrong?


-------------------------------------------
Gabriele Carioli
Management Innovative Tools S.p.A.
Via Giuditta Tavani Arquati, 6
47100 Forlì (FC) - ITALY (EU)
tel. 0039.0543.21834
fax. 0039.0543.379215
http://www.mit.it/



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to