Re: MySQL and Apache 2.x compile: SIG_DFL' undeclared

2001-12-01 Thread Gerrit P. Haase
fine SIG_DFL ((void (*)())0) /* Default action */ #define SIG_IGN ((void (*)())1) /* Ignore action */ #define SIG_ERR ((void (*)())-1)/* Error return */ #endif Have you tried to define __STDC__ to see if it makes a difference, though I built mysql-4.0 (not from CVS) and I

Re: MySQL and Apache 2.x compile: SIG_DFL' undeclared

2001-12-01 Thread Stipe Tolj
> -- Apache (latest) > > make[3]: Entering directory `/usr/src/httpd-2_0_28/srclib/apr/threadproc/unix' > make[4]: Entering directory `/usr/src/httpd-2_0_28/srclib/apr/threadproc/unix' > /bin/sh /usr/src/httpd-2_0_28/srclib/apr/libtool --silent --mode=compile gcc - > static -Wall -Wno-format -W

MySQL and Apache 2.x compile: SIG_DFL' undeclared

2001-12-01 Thread Jari Aalto
[2]: Leaving directory `/usr/src/httpd-2_0_28/srclib/apr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/httpd-2_0_28/srclib' -- MySQL (latest) gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -I./../include -I./.. -I..-O3 -DDBUG_OFF -static -Wall -Wno-format -Wstr

Re: Mysql and Cygwin under win98se

2001-10-30 Thread Gerrit P. Haase
Hallo Christoph, Am 2001-10-30 um 23:14 schriebst du: > is there a mysql package available for cygwin, to let me use > and generate mysql data bases? I wanted to send you my posting from this day, but your mailserver refuses to recieve mail from my server (t-online, greates german pr

Re: Mysql and Cygwin under win98se

2001-10-30 Thread Gerrit P. Haase
Hallo Christoph, Am 2001-10-30 um 23:14 schriebst du: > is there a mysql package available for cygwin, to let me use > and generate mysql data bases? I wanted to send you my posting from this day, but your mailserver refuse to recieve mail from my server (t-online, greates german pr

Mysql and Cygwin under win98se

2001-10-30 Thread Christoph A. Loewe
Hi, i am author of aestats, a game stats tool that parses log files and generates rankings in html. sofar i have been using ANSI C only. i recently started to read up on php and mysql. alas there is no real practical way to get php to do all this (php would be nice for the output though). my

mysql-3.23.43 binary available

2001-10-30 Thread Gerrit P. Haase
also something socket related. So, after building 'make test' fails 100%, but the server is running occasionally and serving. So please feel free to test it and report back if you see problems. I'm not used to use mysql so I cannot say if its behaviour is good or bad, if it stable or

Re: mysql-3.23.43 builds

2001-10-29 Thread Gerrit P. Haase
Hallo Robert, 2001-10-29 14:17:53, du schriebst: > How does it handle dropped connections/ clients that crash without > signing off? These are the things listed as needing attention in the > manual for win32 - and when I read them I figured cygwin might do > better, but haven't had a chance to f

Re: mysql-3.23.43 builds

2001-10-29 Thread Robert Collins
How does it handle dropped connections/ clients that crash without signing off? These are the things listed as needing attention in the manual for win32 - and when I read them I figured cygwin might do better, but haven't had a chance to follow up.. Rob -- Unsubscribe info: http://cygwin.c

Re: mysql-3.23.43 builds

2001-10-28 Thread Gerrit P. Haase
Hallo Stipe, Am 2001-10-29 um 02:37 schriebst du: >> Create a group cyg_mysql and a user mysql with NT's user-management. >> Add them in the right files (/etc/group & /etc/passwd), rename user >> cyg_mysql to mysql, then build from the sources (patch is attached). &g

Re: mysql-3.23.43 builds

2001-10-28 Thread Stipe Tolj
> Create a group cyg_mysql and a user mysql with NT's user-management. > Add them in the right files (/etc/group & /etc/passwd), rename user > cyg_mysql to mysql, then build from the sources (patch is attached). > > Put the attached patch and the source package (http://

mysql-3.23.43 builds

2001-10-28 Thread Gerrit P. Haase
Hallo Cygwinners, Create a group cyg_mysql and a user mysql with NT's user-management. Add them in the right files (/etc/group & /etc/passwd), rename user cyg_mysql to mysql, then build from the sources (patch is attached). Put the attached patch and the source package (http://www.mysq

Re: CAMP Setup of MSQL/MySQL

2001-10-27 Thread Stipe Tolj
> CAMP installed fine, and PHP seems to be working. What I cannot figure > out are the default settings for msql/mysql, like user, password, > database, etc. php4 has "only" build in client support for msql and mysql. The mysql server (mysqld) is not included in CAMP. An

CAMP Setup of MSQL/MySQL

2001-10-26 Thread David M. Clark
Hi, I am a novice, and I hope my naivety does not look like stupidity. I am using Cygwin as an easier way to learn unix, and have CAMP installed so that I can do php dev locally. CAMP installed fine, and PHP seems to be working. What I cannot figure out are the default settings for msql/mysql

Re: cygwinb19 and mysql-win32

2001-10-22 Thread Markus Hoenicka
Christopher Faylor writes: > Can you tell me who, specifically, should get some email? > > I hate this legal stuff, too, but it exists for a reason and shouldn't > be ignored. > > cgf > I have no addresses of legal persons at MySQL, but the programmers

Re: cygwinb19 and mysql-win32

2001-10-22 Thread Christopher Faylor
On Mon, Oct 22, 2001 at 03:39:18PM +, Markus Hoenicka wrote: >I know I'm a little late but I'd like to add the following: > >The Cygwin version of the clients has readline support which the >native version lacks. They do *not* distribute the Cygwin sources and >thus violate the GPL. I offered

cygwinb19 and mysql-win32

2001-10-22 Thread Markus Hoenicka
them. regards, Markus Robert Collins writes: > Is there anyone here who has done a lot with MySQL? > Anyone know whether they've licenced Cygwin b19 from Redhat? (Chris?) > > I've just noticed that they include a dll call cygwinb19.dll in > mysql/lib for their wi

Re: cygwinb19 and mysql-win32

2001-10-18 Thread Li-Kai Liu
>They use it explicitly for their mysqlc. mysql and mysqlc are the comman >line tools for MySQL, while mysql offers just limited text line editing >capabilities, mysqlc offers readline editing. And - as Robert already >mensioned - they state this explicitly in the manual (Ch. 4) wit

RE: cygwinb19 and mysql-win32

2001-10-17 Thread Schaible, Jorg
>win32 build should run fine without cygwin. i suspect they've only >included the library for some weird sense of completeness but it's >totally non-essential. suppose someone did compile a cygwin mysql >client, but they should have cygwin as well, so it doesn&#x

RE: Mysql

2001-10-04 Thread Heribert Dahms
or leave out -c if you want compile and link in one step! Bye, Heribert ([EMAIL PROTECTED]) > -Original Message- > From: Stipe Tolj [SMTP:[EMAIL PROTECTED]] > Sent: Sunday, September 30, 2001 19:29 > To: Scr34m > Cc: Cygwin > Subject: Re: Mysql > > >

Re: Mysql

2001-09-30 Thread Stipe Tolj
> $ gcc -o mysql -c mysql.c -L/usr/local/lib/mysql -lmysqlclient > gcc: -lmysqlclient: linker input file unused since linking not done you may first compile and then link, i.e. $ gcc -o foo.o -c foo.c $ gcc -o foo.exe foo.o -L/usr/local/lib/mysql -lmysqlclient Stipe > What can

Re: Mysql

2001-09-30 Thread Scr34m
Hi Stipe, I installed the libmysql-3.22.10b.tar.bz2 and aftre this i do what you told me. $ gcc -o mysql -c mysql.c -L/usr/local/lib/mysql -lmysqlclient gcc: -lmysqlclient: linker input file unused since linking not done What can i do whit MySQL++ there are one patch for cygwin but i can&#

Re: Mysql

2001-09-30 Thread Stipe Tolj
> here is my probe to connect to mysql server > #include > #include > #include > #include > #include > > #define LEN_SERV 60 > #define LEN_LOGIN 16 > #define LEN_TABLE 64 > > char *SVname, *Cuser, *Cpass, *Dname, *TBname, *DefDom; > i

Re: Mysql

2001-09-30 Thread Stipe Tolj
> > > A caveat: MySQL for Windows uses named pipes to talk to local clients, > > > whereas the MySQL library you compile will want to use UNIX sockets. I > > > found the easiest way to get them talking was to always use a host of > > > 127.0.0.1, forcing INET

mysql

2001-08-27 Thread Markus Hoenicka
To the best of my knowledge MySQL is not ported to Cygwin (yet). All you can do is build the command line clients and the client library (static or as a DLL) on Cygwin. Go to http://www.mysql.com and download the latest *source* package. regards, Markus J. Wan writes: > Hi! > > I

mysql

2001-08-27 Thread J. Wan
Hi! I was just wondering if there is a most recent version of mysql for the cygwin 1.3.2. Also could you direct me to the website that I could download this. Thanks, Jia Yin ** -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

MYSQL problem

2001-08-22 Thread sagu
Hello, today I've compiled mysql client under cygwin. Eeverything works fine except for one thing. Every time I try to use "\." to execute source file, the file becomes empty (lenth zero):( And if I try to execute the file does not exists file becomes created. I'm

MySQL support

2001-08-22 Thread Markus Hoenicka
libmysqlclient and the clients build OOTB with recent versions of Cygwin and MySQL (and yes, you need the source tarball, not the win32 binary). Look at the configure options, you'll have to run something like: ./configure --without-server This will build libmysqlclient.a and the stati

Re: MySQL support

2001-08-22 Thread Edmund Horner
I had libmysqlclient.a for Cygwin, I can't remember where I got it, but it was hard to find. Unfortunately it was a fairly oldish version, and didn't come with header files. However I managed to compile a new one from the MySQL sources anyway. I shall send it to you if you wish. &g

MySQL support

2001-08-21 Thread Nicolas Grehalle
hello, i have to put a Unix application under Cygnus. This application uses MySQL (the libmysqlclient.a for example). I want use the win32 version of MySQL, but i need to compile and run the application without changes in the code ( i don't have the choice) under Cygnus

Looking for PHP4 binary with MySQL support

2001-07-25 Thread Raith Munro
Hi List, Sorry but I'm helpless again. I need PHP4 running under cygwin (I will use it as a CGI from Apache) but it needs to have MySQL support. I will use the Win32 port of MySQL running outside of cygwin. I downloaded the PHP4 source from here http://www.student.uni-koeln.de/c

Re: mysql 2.23.39 minor compile issue

2001-06-15 Thread . . . 2« . . .
i had the same problems.. although i just wanted to compile libmysqlclient which seems to work fine with Mysql modules for perl... things to note, mysqld compiled under cygwin wouldnt listen to signals, just hup on any.. plus mysqld had these mutex problems.. which i think is due to cygwin not

Re: mysql 2.23.39 minor compile issue

2001-06-15 Thread Gerrit P. Haase
Julia A. Case schrieb am 2001-06-15, 10:05: > during the compile I got the following error > > resolveip.o undefinded reference to "h_errno" >From perl sources: /* XXX Configure test needed. h_errno might not be a simple 'int', especially for multi-threaded applications, see "extern int

mysql 2.23.39 minor compile issue

2001-06-15 Thread Julia A. Case
during the compile I got the following error resolveip.o undefinded reference to "h_errno" this means you can't use host names in the user table. when I installed the db tables it had a lot of these errors on the screen mysqld 2420 pthread_cond::BroadCast: Broadcast called with invalid mutex

vfprintf() problems? with mysql-3.23.37

2001-06-11 Thread Gerrit P. Haase
Hi, is there anybody out there who tried to build mysql since cygwin supports threads now? I'm getting this error in tee_fprintf() when it calls vfprintf(): ... Making all in client make[2]: Entering directory `/cygdrive/d/src/CAMP~/mysql-3.23.37-gph/client' g++ -DUNDEF_THREA

Re: Apache and MySQL

2001-04-04 Thread Stipe Tolj
> I have managed to get Perl in Cygwin talking to my MySQL server when I run > the script from the command line, but I cannot get the script to work when > I run it from the browser connecting to Apache. All I ever get is the error : > DBI->connect(database=test;host=) failed:

RE: Apache and MySQL

2001-03-29 Thread Grahame Wright
Hi I've tried running httpd as the regular Cygwin user (which is the user who is logged into windows), and also commenting out the user and group section of httpd.conf, but neither of those work. MySQL is set to allow a connection from any user from the localhost, so that shouldn

RE: Apache and MySQL

2001-03-28 Thread Neil Lunn
Graham, What user is httpd running as? Is it different to that you are running the script from normally? Is this user allowed to connect to MySQL? I Didn't think that there was a way to restrict sockets permissions in cygwin! Probably wrong as usual. Neil > -Original Message

Apache and MySQL

2001-03-28 Thread Grahame Wright
Hi I have managed to get Perl in Cygwin talking to my MySQL server when I run the script from the command line, but I cannot get the script to work when I run it from the browser connecting to Apache. All I ever get is the error : DBI->connect(database=test;host=) failed: Can't c

Re: MySQL and Perl

2001-03-27 Thread Charles S. Wilson
I built Msql-Mysql-modules for perl-5.6.0 a while back, using this mysql client library: http://www.neuro.gatech.edu/users/cwilson/cygutils/unversioned/mysql-clientlib/index.html and building according to these instructions: http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/perl-5.6.0

MySQL and Perl

2001-03-27 Thread Grahame Wright
Hi Has anyone managed to get Perl under Cygwin talking to a MySQL server, either Win32 on the same machine or any outside MySQL server?? I've been trying for quite a while to get this working, without success. I am fairly sure it has to do with the /tmp/mysql.sock, or rather the lack o

configure for mysql compile

2001-01-29 Thread Markus Hoenicka
nd patches appended below. BTW this was 3.23.28-gamma. regards, Markus dale henderson writes: > I am trying to compile the latest mysql sources on the latest cygwin. Does > anyone know the correct ./configure parameters to get a successful mysql > client. I have tried using: > > ./c

Re: configure for mysql compile

2001-01-28 Thread Earnie Boyd
dale henderson wrote: > I used ./configure --without-server and created the makefiles. > /include/config-win.h is looking for so I included > /usr/include/mingw in the include path and libmingw32 in the linked > libraries for /libmysql/Makefile. Now there are a lot of redefines and > undeclares

Re: configure for mysql compile

2001-01-28 Thread dale henderson
when compiling /libmysql/my_init.c Is there a patch for this? dale >dale henderson wrote: > > > > I am trying to compile the latest mysql sources on the latest cygwin. >Does > > anyone know the correct ./configure parameters to get a successful mysql > &

Re: configure for mysql compile

2001-01-28 Thread Earnie Boyd
dale henderson wrote: > > I am trying to compile the latest mysql sources on the latest cygwin. Does > anyone know the correct ./configure parameters to get a successful mysql > client. I have tried using: > > ./configure --without-server > > AND > &g

configure for mysql compile

2001-01-28 Thread dale henderson
I am trying to compile the latest mysql sources on the latest cygwin. Does anyone know the correct ./configure parameters to get a successful mysql client. I have tried using: ./configure --without-server AND CC="gcc -mno-cygwin" CXX="c++ -mno-cygwin" ./config