rpm source build problems

2002-12-20 Thread Pete Mocat
Hi,

I hope this message is not out of place, but I have not been able to solve 
this problem. I need to rebuild the latest MySQL rpm's for use
on some RedHat 6.1/6.2 machines and have been having quite a few problems.

I've made sure I have :

autoconf-2.52
automake-1.5
libtool-1.4.3

which I believe another person said was necassary in a previous thread.

I also have replaced redhat's egcs compiler with gcc 2.95 (rebuilt from 
yellowdog source rpms as per another thread).

When running

rpm --rebuild MySQL-3.23.54a-1.src.rpm

I get:

+ mv Docs/manual.ps.save Docs/manual.ps
+ automake
aclocal.m4: 1272: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL'
aclocal.m4: 1273: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL'
aclocal.m4: 1379: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL'
libmysql_r/Makefile.am:26: library used but `LIBTOOL' not defined in 
`configure.in'
error: Bad exit status from /var/tmp/rpm-tmp.70620 (%build)


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


any ideas?

Thanks so much!






_
The new MSN 8: smart spam protection and 3 months FREE*.  
http://join.msn.com/?page=features/junkmailxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_smartspamprotection_3mf


-
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



build problems

2002-03-06 Thread Paul Warren

I have Redhat 7.2 - clean install
When I try to compile my own mysql 49a version, I get a hostname error and
it said it can't use the resolveIP function. It also says it might be that
mysql isn't 100% compatible with the libc (or glibc) version I have. I also
saw on the www.mysql.com homepage that there are problems with a glibc
version 2.96
I can use the rpm but it installs with errors. Is it possible to install
without errors?

has anyone gotten a clean install with mysql? and how?

thanks, Paul

-
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




Build problems on Solaris 7 and 8.

2001-10-26 Thread Jeff Wiegley, Ph.D.

The only useful question in this message is:

How do I pass -Wl,-R/usr/local/lib to everything while
configuring and compiling MySQL?

Please don't tell me about adding LD_LIBRARY_PATH to
my profile. That's just plain dumb when you should be
able to pass -R to the linker.

Everything else below here is just a rant about how
inferior the MySQL configure and build process is.

I find it impossible to believe the INSTALL-SOURCE file when it
says We use and develop the software ourselves primarily on
Sun Solaris (Versions 2.5 - 2.7) and SuSE Linux Version 7.x.

Get a stock Solaris x86 box. Install GCC and make from
sunfreeware.com like any sane administrator would do.
Get, compile and install the shared zlib libraries(let it compile
into the default /usr/local/lib ./configure --shared)

Now try to install and compile MySQL and watch it barf on
trying to find libz. I've got to add so much crap to CFLAGS, LDFLAGS
and CXXFLAGS before trying to configure MySQL that having an
automated build environment is basically useless.

The cross-compiler check is a real treat. Its always wrong and
you wind up having to compile c++ files with a C compiler and then
you wonder why you get unresolved symbols or other linking problems.
If you want it to be compiled by gcc write it in C, otherwise make
sure you check g++ correctly. The x86 GCC binaries on sunfreeware
are not crosscompilers, and even if they were it wouldn't matter;
I get the same problems after spending the day compiling GCC natively
on the box I'm trying to compile MySQL on.

Oh so maybe try Solaris 8... Get GCC 3.0.1 and try to build with
that and make...
gcc -DDEFAULT_CHARSET_HOME=\/usr\ -DDATADIR=\/home/mysql\ 
-DSHAREDIR=\/usr/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I./../include 
-I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O3 -DHAVE_CURSES_H 
-I/mnt/nfs/NTCSoftware/mysql/src/mysql-3.23.43/include -DHAVE_RWLOCK_T -c password.c  
-fPIC -DPIC -o .libs/password.lo
Assembler: password.c
 /var/tmp/ccn6BEfI.s, line 166 : Illegal mnemonic
 /var/tmp/ccn6BEfI.s, line 166 : Syntax error
 /var/tmp/ccn6BEfI.s, line 222 : Illegal mnemonic
 /var/tmp/ccn6BEfI.s, line 222 : Syntax error
 /var/tmp/ccn6BEfI.s, line 378 : Illegal mnemonic
 /var/tmp/ccn6BEfI.s, line 378 : Syntax error
 /var/tmp/ccn6BEfI.s, line 457 : Illegal mnemonic
 /var/tmp/ccn6BEfI.s, line 457 : Syntax error

yes I purposely left out any detailed information about my machine, my OS,
what I had for breakfast this morning...

Cause I've spent the last three days hunting down answers from
google groups and it doesn't take a genius to realize that
tons of people have problems building MySQL on Solaris. And there
is always some know-it-all that thinks -L and -I will fix all your
problems.

So I highly doubt anyone would have an accurate answer for me even
if I did include details. And the answers in the INSTALL-SOURCE file
are silly. Why should I have to mess up my filesystems by putting all
sorts of crazy symbolic links everywhere or rely on people to have
LD_LIBRARY_PATH set when I should be able to just as easily pass -R
(or other options) to the compiler and linker when they are doing their
job. Then mysql would work even if I moved the binaries to a different
machine that didn't have all the messy sym-links.

I am however suggesting that people take a closer look at the
configuration stage and get it right.

Is any of this cleanup in 4.0?

So that's my rant in a nutshell.

- Jeff



-
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




Re: Build problems on Solaris 7 and 8.

2001-10-26 Thread Alan W. Rateliff, II

On 26-Oct-01, Jeff Wiegley, Ph.D. said something totally profound about Build problems 
on Solaris 7 and 8. that made me ponder...

JWP The only useful question in this message is:
JWP 
JWP How do I pass -Wl,-R/usr/local/lib to everything while
JWP configuring and compiling MySQL?

CXXFLAGS?

JWP Please don't tell me about adding LD_LIBRARY_PATH to
JWP my profile. That's just plain dumb when you should be
JWP able to pass -R to the linker.

I don't touch my LD_LIBRARY_PATH variable in Solaris 7 or 8.

JWP I find it impossible to believe the INSTALL-SOURCE file when it
JWP says We use and develop the software ourselves primarily on
JWP Sun Solaris (Versions 2.5 - 2.7) and SuSE Linux Version 7.x.
JWP 
JWP Get a stock Solaris x86 box. Install GCC and make from
JWP sunfreeware.com like any sane administrator would do.
JWP Get, compile and install the shared zlib libraries(let it compile
JWP into the default /usr/local/lib ./configure --shared)
JWP 
JWP Now try to install and compile MySQL and watch it barf on
JWP trying to find libz. I've got to add so much crap to CFLAGS, LDFLAGS
JWP and CXXFLAGS before trying to configure MySQL that having an
JWP automated build environment is basically useless.

I agree that there's a good bit of additional things to do to get MySQL to
compile, but I am successful in getting it to compile under these conditions:

Vanilla Solaris 8 (Sparc or i86) installation
gcc, bison, flex packages from SunFreeWare
PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/xpg4/bin:/usr/ccs/bin
Then compile using my mini-HOWTO
http://users.talstar.com/forager/MySQL-HOWTO.html

No muss, no fuss.

JWP Oh so maybe try Solaris 8... Get GCC 3.0.1 and try to build with that and
JWP make...
JWP gcc -DDEFAULT_CHARSET_HOME=\/usr\ -DDATADIR=\/home/mysql\
JWP -DSHAREDIR=\/usr/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID
JWP -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O3
JWP -DHAVE_CURSES_H -I/mnt/nfs/NTCSoftware/mysql/src/mysql-3.23.43/include
JWP -DHAVE_RWLOCK_T -c password.c -fPIC -DPIC -o .libs/password.lo Assembler:
JWP password.c
JWP /var/tmp/ccn6BEfI.s, line 166 : Illegal mnemonic
JWP /var/tmp/ccn6BEfI.s, line 166 : Syntax error
JWP /var/tmp/ccn6BEfI.s, line 222 : Illegal mnemonic
JWP /var/tmp/ccn6BEfI.s, line 222 : Syntax error
JWP /var/tmp/ccn6BEfI.s, line 378 : Illegal mnemonic
JWP /var/tmp/ccn6BEfI.s, line 378 : Syntax error
JWP /var/tmp/ccn6BEfI.s, line 457 : Illegal mnemonic
JWP /var/tmp/ccn6BEfI.s, line 457 : Syntax error

I found that gcc3.0.1 is giving me problems with a lot of programs, MySQL
included.  I've gone back to 2.95.3 for the time being.

But this list of errors above looks VERY familiar with the latest MySQL
release vs gcc3.0.1.

JWP So I highly doubt anyone would have an accurate answer for me even
JWP if I did include details. And the answers in the INSTALL-SOURCE file
JWP are silly. Why should I have to mess up my filesystems by putting all
JWP sorts of crazy symbolic links everywhere or rely on people to have
JWP LD_LIBRARY_PATH set when I should be able to just as easily pass -R
JWP (or other options) to the compiler and linker when they are doing their
JWP job. Then mysql would work even if I moved the binaries to a different
JWP machine that didn't have all the messy sym-links.

I think I read that file a long time ago.  I've compiled many many version
since then using my standard technique, and also by watching a listening to
the successes and failures of others on this list.

JWP I am however suggesting that people take a closer look at the
JWP configuration stage and get it right.

There are a good deal of things that could be fixed in the ./configure, I'll
grant that.

JWP So that's my rant in a nutshell.

I've had simliar ranting sessions while beating my desk.  Hope you do better
in the future.
-- 
   Alan W. Rateliff, II: YourVillage.com
  Assistant Systems Administrator  :   2700 Apalachee Pkwy
  [EMAIL PROTECTED]   :  Tallahassee, FL 32301
(850) 942-7021---
 [EMAIL PROTECTED]  http://support.yourvillage.com 


-
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




build problems on powerpc with 3.23.42

2001-09-23 Thread Christian Hammers

Hello

I have problems building the mysql package for the Debian distribution on
powerpc. More infos below. Feel free to contact me for further details.

bye,

-christian-

make[3]: Entering directory `/home/ch/debian/mysql-3.23.42/sql'
g++ -DMYSQL_SERVER  -DDEFAULT_MYSQL_HOME=\/usr\
-DDATADIR=\/var/lib/mysql\
-DSHAREDIR=\/usr/share/mysql\   -DHAVE_CONFIG_H
-I../innobase/include  -I./../include
-I./../regex-I. -I../include -I.. -I.-O3 -DDBUG_OFF
-O2  -g -felide-constructors  -fno-rtti  -fno-implicit-templates
-fno-exceptions -fno-rtti -c mysqld.cc
In file included from mysqld.cc:80:
/usr/include/tcpd.h:39: invalid exception specifications
/usr/include/tcpd.h:40: invalid exception specifications
/usr/include/tcpd.h:41: invalid exception specifications
/usr/include/tcpd.h:42: invalid exception specifications
make[3]: *** [mysqld.o] Error 1
make[3]: Leaving directory `/home/ch/debian/mysql-3.23.42/sql'
make[2]: *** [all-recursive] Error 1

the relevant lines in tcpd.h are *sink to *cleanup:

struct request_info {
int fd; /* socket handle */
charuser[STRING_LENGTH];/* access via eval_user(request) */
chardaemon[STRING_LENGTH];  /* access via eval_daemon(request)
*/
charpid[10];/* access via eval_pid(request) */
struct host_info client[1]; /* client endpoint info */
struct host_info server[1]; /* server endpoint info */
void  (*sink) __P((int));   /* datagram sink function or 0 */
void  (*hostname) __P((struct host_info *)); /* address to printable
hostname */
void  (*hostaddr) __P((struct host_info *)); /* address to printable
address */
void  (*cleanup) __P((struct request_info *)); /* cleanup function or 0
*/
struct netconfig *config;   /* netdir handle */
};

I'm using:
ii  libwrap0-dev   7.6-8.2Wietse Venema's TCP wrappers library,
ii  libc6-dev  2.2.4-1GNU C Library: Development Libraries 
ii  gcc2.95.4-6   The GNU C compiler.
ii  g++2.95.4-6   The GNU C++ compiler.
ii  libstdc++2.10  2.95.2-13  The GNU stdc++ library

ch@voltaire:~/debian/mysql-3.23.42$ cat /proc/cpuinfo 
processor   : 0
cpu : 7400 (G4, altivec supported)
clock   : 500MHz
revision: 2.9 (pvr 000c 0209)
bogomips: 992.87

processor   : 1
cpu : 7400 (G4, altivec supported)
clock   : 500MHz
revision: 2.9 (pvr 000c 0209)
bogomips: 992.87

total bogomips  : 1985.74
zero pages  : total: 0 (0Kb) current: 0 (0Kb) hits: 0/0 (0%)
machine : PowerMac3,3
motherboard : PowerMac3,3 MacRISC Power Macintosh
L2 cache: 1024K unified
memory  : 320MB
pmac-generation : NewWorld


-- 
Rome did not create a great empire by having meetings,
they did it by killing all those who opposed them.

-
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




Build problems with BerkeleyDB

2001-08-15 Thread Jeff Hinds

While attempting to build MySQL from the source distribution, I have
received the following message from the configuration utility.

checking for BerkeleyDB... supplied
configure: error: didn't find valid BerkeleyDB: invalid version 3.3.11
(must be
version 3.2.3h or )


We want the BerkeleyDB support to be added to the MySQL service however, we
do not want to support multiple versions of the product on the system. We
need the 3.3.11 version for other products. However, the MySQL is having
problems using this version.

This version was downloaded from the sleepycat site for use with email
applications. What do I need to do to use this version with MySQL?

Thank You
Jeff Hinds


 ~~~
   _ #  Jeff D. Hinds - Database Specialist# _
  / )#  Office of Information Technology   #( \
   _ / / #  001 Cope Administration Building   # \ \ _
  ( ( () #  _   Murfreesboro, TN  37129 _  # () ) )
 ( \ \ \)# / ) ( \ #(/ / / )
( \ \ \ \_/ /   Phone: (615) 898-5719   \ \_/ / / / )
 \ /  Fax: (615) 898-5720\ /
  \   /E-Mail: [EMAIL PROTECTED]\   /
   \ /~\ /
   [[[|]]]   == MIDDLE TENNESSEE STATE UNIVERSITY ==   [[[|]]]
   [[[|]]]~[[[|]]]


-
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




Re: Build problems (+solution) on HPUX 10.20/gcc 2.95

2001-08-09 Thread Harro Verkouter


Hi Michael,

Michael Widenius wrote:
 Between the different configure attemtns, did you do 'rm config.cache'?
 
 If not, then there is a big change that the old content of
 config.cache from the first build could have affected the later
 builds.

I got an email from Timothy Smith yesterday suggesting the same. I build
a lot of packages using configure and am aware of the config.cache
(guess how I found *that* out.. :))... no.. I almost automatically rm
config.cache before any configure command...

 Any change you could quickly check on your machine if the
 recommended configure line from the MySQL manual would work one a
 clean MySQL distribution ?
 
 On our HPUX 10.20 machine, we use the following configure line to
 build our binaries:
 
 CFLAGS=-DHPUX -I/opt/dce/include  -O3 -fpic CXX=gcc CXXFLAGS=-DHPUX 
-I/opt/dce/include -felide-constructors -fno-exceptions -fno-rtti -O3  ./configure 
--prefix=/usr/local/mysql --with-comment=Official MySQL binary 
--with-extra-charsets=complex --with-server-suffix=  --with-pthread 
--with-named-thread-libs=-ldce --disable-shared
 

Ok. So I gave it another try. I untarred the source distro into a new
directory and ran the configure command above (only different prefix).
Made absolutely no difference whatsoever: still a gazillion+-1 errors
:). Below I have a snapshot of the kind of errors that fly by my tty

I think our gcc is broken/only half installed; it can only build 32bit
apps.

g++ -v:
Reading specs from
/local/gcc-2.95/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release)



 snip 
In file included from /usr/include/fcntl.h:9,
 from ../include/global.h:176,
 from mysql.cc:28:
/usr/include/sys/fcntl.h:212: initializer list being treated as compound
express
ion
/usr/include/sys/fcntl.h:212: syntax error before `char'
/usr/include/sys/fcntl.h:212: `mode_t c' used prior to declaration
/usr/include/sys/fcntl.h:212: parse error before `{'
/usr/include/sys/fcntl.h:213: initializer list being treated as compound
express
ion
/usr/include/sys/fcntl.h:213: syntax error before `char'
/usr/include/sys/fcntl.h:213: `mode_t b' used prior to declaration
/usr/include/sys/fcntl.h:213: parse error before `{'
In file included from /usr/include/unistd.h:11,
 from ../include/global.h:192,
 from mysql.cc:28:
/usr/include/sys/unistd.h:92: syntax error before `('
/usr/include/sys/unistd.h:275: type specifier omitted for parameter
/usr/include/sys/unistd.h:276: type specifier omitted for parameter
/usr/include/sys/unistd.h:362: type specifier omitted for parameter
/usr/include/sys/unistd.h:426: type specifier omitted for parameter
/usr/include/sys/unistd.h:526: syntax error before `('
/usr/include/sys/unistd.h:528: `int truncate' redeclared as different
kind of s
In file included from mysql.cc:28:
./include/global.h:633: syntax error before `;'
In file included from /usr/include/sys/stat.h:25,
 from ../include/my_dir.h:27,
 from mysql.cc:34:
/usr/include/sys/_stat_body.h:14: syntax error before `;'
/usr/include/sys/_stat_body.h:22: syntax error before `;'
In file included from ../include/my_dir.h:27,
 from mysql.cc:34:
/usr/include/sys/stat.h:167: `int stat' redeclared as different kind of
symbol
/usr/include/sys/stat.h:108: previous declaration of `int stat(const
char *, sta
t *)'
/usr/include/sys/stat.h:167: initializer list being treated as compound
expressi
on
/usr/include/sys/stat.h:167: syntax error before `char'
/usr/include/sys/stat.h:167: conflicting types for `struct stat * b'
/usr/include/sys/fcntl.h:213: previous declaration as `mode_t b'
/usr/include/sys/stat.h:167: parse error before `{'
/usr/include/sys/stat.h:168: `int fstat' redeclared as different kind of
symbol
/usr/include/sys/stat.h:107: previous declaration of `int fstat(int,
stat *)'

 /snip 

Cheers,

-- 

Groeten,


Harro Verkouter Joint Institute for VLBI in Europe
[EMAIL PROTECTED]   Radiosterrenwacht Dwingeloo 
Postbus 2
tel.: (+31)(0)521-5965167990 AA DWINGELOO, the Netherlands
fax.: (+31)(0)521-597332

--

Accident, n.:
A condition in which presence of mind is good, but absence of
body is better.
-- Foolish Dictionary

--

-
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




Re: Build problems (+solution) on HPUX 10.20/gcc 2.95

2001-08-09 Thread Sinisa Milivojevic

Harro Verkouter writes:
 
 Hi Michael,
 Ok. So I gave it another try. I untarred the source distro into a new
 directory and ran the configure command above (only different prefix).
 Made absolutely no difference whatsoever: still a gazillion+-1 errors
 :). Below I have a snapshot of the kind of errors that fly by my tty
 
 I think our gcc is broken/only half installed; it can only build 32bit
 apps.
 
 g++ -v:
 Reading specs from
 /local/gcc-2.95/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/specs
 gcc version 2.95.2 19991024 (release)
 
 
 
  snip 
 In file included from /usr/include/fcntl.h:9,
  from ../include/global.h:176,
  from mysql.cc:28:
 /usr/include/sys/fcntl.h:212: initializer list being treated as compound
 express
 ion
 /usr/include/sys/fcntl.h:212: syntax error before `char'

cut
 
  /snip 
 
 Cheers,
 
 -- 
 
 Groeten,
 
 
 Harro Verkouter Joint Institute for VLBI in Europe
 [EMAIL PROTECTED] Radiosterrenwacht Dwingeloo 
   Postbus 2
 tel.: (+31)(0)521-596516  7990 AA DWINGELOO, the Netherlands
 fax.: (+31)(0)521-597332  
 

OK, reinstall 2.95.2 and if the above error repeat, re-send me those
errors, plus include /usr/include/sys/fcntl.h and stat.h in a direct
mail to me.

-- 
Regards,
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED]
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
   ___/   www.mysql.com


-
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




Build problems (+solution) on HPUX 10.20/gcc 2.95

2001-08-07 Thread verkouter

Description:
I tried to compile the mysql client stuff. 
The first configure command was:
./configure --prefix=/jaw0_3/jops/verkout --without-server --without-docs 
--without-bench --without-debug --with-pthread

This (obviously) did not fully work. Almost everyting was built, except the 
mysql binary (mysql{admin,show,..} were ok (and did work).
When compiling mysql.cc it gave *a lot* of errors, on include stdio.h and 
some other files. Mostly errors on lines wher _fpos_t and/or int64 were used.

Checked www.mysql.com. Found HPUX 10.20 build instructions.
Did another configure (env. vars. changes as per the webpage first).
./configure --prefix=/jaw0_3/jops/verkout --without-server --without-docs 
--without-bench --without-debug --with-pthread --with-named-thread-libs='-ldce' 
--disable-shared

Still didn't work; the errors were still the same... I suspected they had to 
do with large-file support. Gave it another try with this configure command:
./configure --prefix=/jaw0_3/jops/verkout --without-server --without-docs 
--without-bench --without-debug --with-pthread --with-named-thread-libs='-ldce' 
--disable-shared --disable-large-files

You guessed it: no difference.

Fix:

Went into 'include/my_config.h'. Found that the #defn's usually used to 
indicate large-file support were still defined?!
Did a #undef on the following variables:
_FILE_OFFSET_BITS
_LARGEFILE_SOURCE
_LARGE_FILES

After that, gmake in the 'client' subdir worked like a charm! The produced 
binaries seem to work ok.


Originator: Harro Verkouter
MySQL support: none
Synopsis:   Buildprobs on HPUX 10.20
Severity:   non-critical
Priority:   medium
Category:   mysql
Class:  sw-bug
Release:mysql-3.23.40 (Source distribution)

Environment:
System: HP-UX jaw0 B.10.20 A 9000/782 298990 two-user license


Some paths:  /local/bin/perl /local/bin/make /local/bin/gmake /local/gcc-2.95/bin/gcc 
/usr/bin/cc
GCC: Reading specs from /local/gcc-2.95/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release)
Compilation info: CC='gcc'  CFLAGS='-DHPUX -I/opt/dce/include'  CXX='gcc'  
CXXFLAGS='-DHPUX -I/opt/dce/include -felide-constructors -fno-exceptions -fno-rtti'  
LDFLAGS=''
LIBC: 
-r-xr-xr-x   1 binbin1863680 Nov 10  1999 /lib/libc.1
-r--r--r--   1 binbin2456532 Nov 10  1999 /lib/libc.a
lrwxr-xr-x   1 root   sys 15 Jun 16  1998 /lib/libc.sl - 
/usr/lib/libc.1
-r-xr-xr-x   1 binbin1863680 Nov 10  1999 /usr/lib/libc.1
-r--r--r--   1 binbin2456532 Nov 10  1999 /usr/lib/libc.a
lrwxr-xr-x   1 root   sys 15 Jun 16  1998 /usr/lib/libc.sl - 
/usr/lib/libc.1
Configure command: ./configure  --prefix=/jaw0_3/jops/verkout --without-server 
--without-docs --without-bench --without-debug --with-pthread 
--with-named-thread-libs=-ldce --disable-shared
Perl: This is perl, version 5.005_02 built for PA-RISC2.0

-
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




Re: Build problems (+solution) on HPUX 10.20/gcc 2.95

2001-08-07 Thread Sinisa Milivojevic

[EMAIL PROTECTED] writes:
 Description:
   I tried to compile the mysql client stuff. 
   The first configure command was:
   ./configure --prefix=/jaw0_3/jops/verkout --without-server --without-docs 
--without-bench --without-debug --with-pthread
 
   This (obviously) did not fully work. Almost everyting was built, except the 
mysql binary (mysql{admin,show,..} were ok (and did work).
   When compiling mysql.cc it gave *a lot* of errors, on include stdio.h and 
some other files. Mostly errors on lines wher _fpos_t and/or int64 were used.

Thanks ...

We shall try to fix our configure script.

-- 
Regards,
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED]
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
   ___/   www.mysql.com

-
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




Build problems.

2001-06-20 Thread darren hudson

apologies if this is documented somewhere, but i have found much of the
material confusing.

I am attempting to build mysql-3.23.39 on a sun Solaris 2.6 box, with the
languages / utilities installed.

1. perl5.6.1
2. GNUmake
3. GNUm4
4. GNUtar
5. apache1.3.19
6. autoconf-2.13
7. automake-1.4
8. gawk-3.0.4
9. bison-1.28

through documentation i can see there are a number of ways to install the
mysql

1. compile the source (currently i am using this), but i have hit problems
that suggest i don't have the relevant C++ libraries for my gcc complier. 

a. Installing the libstdc++-2.8.1.1 should rectify this? compiling
the source for this is a problem , producing unhelpful errors after a
lengthy configure process. if somebody can provide docs on how to install
these libraries successfully i would be keen to hear about, either as the
precompiled binaries or the source code.
b. mysql documentation recommends that  In this case, you can
 remove the code in `configure' that tests for the C++ compiler and
 then run `./configure' with the `--without-server' option - can
anybody throw light on what the without server option is about?

2. use binaries (not used yet).

[EMAIL PROTECTED]





TEL 020 7710 2800

www.netpoll.net

Netpoll Ltd
9-12 Long Lane
London
EC1A 9HA

This message contains confidential information and is intended only for the individual 
or entity named.
If you are not the named addressee you should not disseminate, distrribute or copy 
this email.
Please notify the sender or [EMAIL PROTECTED] immediatly by email if you have 
received this email by mistake
and delete this email from your system.

Email transmission cannot be guaranteed to be secure or error free as information 
could be intercepted, corrupt, lost, destroyed, arrive late
or incomplete and may contain viruses.
The sender therefor does not accept liability for any errors or omissions in the 
contents of this message which arrise as a result of
email transmission.

If verification is required please request a hard copy version.

This message has been scanned for viruses with Trend Micro's Virus Wall



-
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


build problems on NT 5

2001-02-27 Thread Cynic

Should MySQL build out of the box on NT? 

I tried to build 3.23.32 and 3.23.33 on NT 5, and both 
attempts failed on the assembler code. The custom build 
step for src/strings/Strings.asm is as follows:

masm -Mx  -t -DDOS386 -DM_I386   $(InputPath),$(OutDir)\$(InputName).obj,,,

I believe I have MASM installed properly (comes as part of 
MS Processor Pack, not much to screw about it), but there's 
no 'masm.exe', just ml.exe.

Configuration: strings - Win32 Release
Performing Custom Build Step on .\Strxmov.asm
'masm' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\winnt\system32\cmd.exe.

mysqld-nt.exe - 1 error(s), 0 warning(s)


If I change the custom build step for src/strings/Strings.asm
to invoke ml instead, I get a complaint about uknown parameters,
and the file doesn't compile either. 

So, what do I need to build MySQL on NT?



Cynic:

A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.

[EMAIL PROTECTED]



-
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




build problems

2001-02-21 Thread Cynic

[Please cc me, I'm not on the list.]

Hi there.

I'm trying to compile mysql-3.23.33 on NT 5, and have run 
into this:

Performing Custom Build Step on .\Strxmov.asm
'masm' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\winnt\system32\cmd.exe.

mysqld-opt.exe - 1 error(s), 0 warning(s)


I have downloaded masm-6.15 and installed it. the compiler
is however called ml.exe, so I changed the custom build step
on strxmov.asm to load ml, but now I get this:

Performing Custom Build Step on .\Strxmov.asm
MASM : warning A4018: invalid command-line option : -Mx
 Assembling: .\Strxmov.asm,.\release\Strxmov.obj,,,
MASM : fatal error A1000: cannot open file : .\Strxmov.asm,.\release\Strxmov.obj,,,
Error executing c:\winnt\system32\cmd.exe.

mysqld-opt.exe - 1 error(s), 1 warning(s)


I'm neither familiar with MASM nor assembler programming in 
general. could someone enlighten me as to what changes are 
necessary?

BTW, inclusion of build instructions for win32 platforms 
would be nice...




Cynic:

A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.

[EMAIL PROTECTED]



-
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