sqlrelay-discussion Mailing List for SQL Relay (Page 53)
Brought to you by:
mused
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
(20) |
Mar
(27) |
Apr
(17) |
May
(32) |
Jun
(45) |
Jul
(49) |
Aug
(68) |
Sep
(44) |
Oct
(29) |
Nov
(64) |
Dec
(25) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(61) |
Feb
(22) |
Mar
(25) |
Apr
(31) |
May
(18) |
Jun
(28) |
Jul
(19) |
Aug
(16) |
Sep
(8) |
Oct
(17) |
Nov
(32) |
Dec
(4) |
| 2007 |
Jan
(20) |
Feb
(25) |
Mar
(5) |
Apr
(12) |
May
(11) |
Jun
(18) |
Jul
(16) |
Aug
(22) |
Sep
(37) |
Oct
(20) |
Nov
(11) |
Dec
(2) |
| 2008 |
Jan
(11) |
Feb
(33) |
Mar
(12) |
Apr
(18) |
May
(22) |
Jun
(31) |
Jul
(23) |
Aug
(6) |
Sep
|
Oct
(10) |
Nov
(22) |
Dec
|
| 2009 |
Jan
(12) |
Feb
(8) |
Mar
(11) |
Apr
(20) |
May
(18) |
Jun
(7) |
Jul
(27) |
Aug
(2) |
Sep
(10) |
Oct
(5) |
Nov
(2) |
Dec
(1) |
| 2010 |
Jan
(11) |
Feb
(18) |
Mar
(10) |
Apr
(28) |
May
(28) |
Jun
|
Jul
(27) |
Aug
(9) |
Sep
(21) |
Oct
(2) |
Nov
(2) |
Dec
(11) |
| 2011 |
Jan
|
Feb
(2) |
Mar
(4) |
Apr
(2) |
May
(2) |
Jun
(44) |
Jul
(9) |
Aug
(2) |
Sep
(12) |
Oct
(7) |
Nov
(11) |
Dec
(7) |
| 2012 |
Jan
(5) |
Feb
|
Mar
(9) |
Apr
(9) |
May
(12) |
Jun
|
Jul
(13) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
(10) |
| 2013 |
Jan
(21) |
Feb
(3) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(2) |
Jul
(3) |
Aug
(3) |
Sep
(3) |
Oct
|
Nov
|
Dec
(4) |
| 2014 |
Jan
(7) |
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Marc LP <mar...@gm...> - 2005-09-28 09:20:25
|
We had a similar problem. You could try to... -upgrade to latest version -disable sqlrelay cache ( sqlrcur_setCacheTtl ) -end session each time after sending a query ( sqlrcon_endSession ) -limit the number of results of your query Good luck. Marc LP On 9/28/05, Dario Lah <dl...@ti...> wrote: > Hi, > I'm using sqlrelay to Oracle from PHP and memory usage of connection > process is increasing (DRS and RSS) > > Processes affected are: > sqlr-listener > sqlr-connection-oracle8 > > How should I exactly use PHP API to avoid memory usage increase? > Assumingly it is not a bug. > > Regards, > Dario > > -- > An army may march great distances without distress > if it marches through country where the enemy is not > --The Art of War by Sun Tz > Chapter VI: Weak Points and Stron > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
|
From: Dario L. <dl...@ti...> - 2005-09-28 09:10:34
|
Hi,
I'm using sqlrelay to Oracle from PHP and memory usage of connection
process is increasing (DRS and RSS)
Processes affected are:
sqlr-listener
sqlr-connection-oracle8
How should I exactly use PHP API to avoid memory usage increase?
Assumingly it is not a bug.
Regards,
Dario
--
An army may march great distances without distress
if it marches through country where the enemy is not
--The Art of War by Sun Tz
Chapter VI: Weak Points and Stron
|
|
From: Rafael 'D. S. <di...@im...> - 2005-09-26 07:30:43
|
We have a Ruby application running on Oracle 9i and are using Sqlrelay
as a middleware layer to improve our application's efficiency. Using it
has given us a 20%-25% speed boost in our project's efficiency over
using the OCI8 Ruby DBI module directly. However, we have been
experiencing some strange problems that manifest during times that there
is heavy database load. When very many parallel connections are made to
the Sqlrelay daemon, eventually, the number of Sqlrelay processes shoots
up, way, way beyond the maxconnections limit that we imposed (sometimes
reaching 500 processes or even more; we have it configured at 30), and
when we terminate the application (if we don't get to in time this
inevitably leads to a system crash as virtual memory is exhausted),
Sqlrelay is totally unusable for connecting to the database: sqlrsh
simply hangs indefinitely. The system basically runs small stub
programs from time to time to perform small database updates, so when it
connects to Sqlrelay, it freezes, and so both our stub program instances
and Sqlrelay connection instances proliferate rapidly. Through all
this, it remains possible to connect to the database directly using
something like sqlplus.
We are using sqlrelay-0.36.1, Oracle Instant Client 10.1.0.3, Ruby
1.8.2, Ruby-DBI 0.0.21 on Red Hat Enterprise 3.0, kernel
2.4.21-27.ELsmp. The Oracle is on Solaris 9, version 9.2.0.6.0. Our
sqlrelay.conf looks like this (with hostnames and passwords rubbed out):
<?xml version="1.0"?>
<!DOCTYPE instances SYSTEM "sqlrelay.dtd">
<instances>
<instance id="pacer-oracle" port="9000"
socket="/tmp/oracletest.socket" dbase="oracle8" connections="3"
maxconnections="30" maxqueuelength="0" growby="1" ttl="60"
endofsession="commit" sessiontimeout="600" runasuser="nobody"
runasgroup="nobody" cursors="5" authtier="listener" handoff="pass">
<users>
<user user="foo" password="bar"/>
</users>
<connections>
<connection connectionid="oracle-db"
string="user=XXXXX;password=XXXX;oracle_sid=XXXXX;oracle_home=/usr/lib/oracle/10.1.0.3/client"
metric="1"/>
</connections>
</instance>
</instances>
Is there something fishy with our config?
--
True compassion is more than throwing a coin to a beggar. It demands of
our humanity that if we live in a society that produces beggars, we are
morally commanded to restructure that society.
http://stormwyrm.blogspot.com/
|
|
From: Firstworks/4access <dav...@fi...> - 2005-09-22 19:13:15
|
Looks like the server-side isn't cleaning up those cursors properly.
I'll take a look and see if I can figure out what's going on.
Dave
On Thu, 2005-09-22 at 11:01 -0700, Dennis Bolton wrote:
> Hi,
>
> When running the code below repeatedly I find that the
> cursor created in
>
> $returncur = sqlrcur_getOutputBindCursor($cur,'returncur');
>
> is never closed on the oracle server. After enough iterations the
> server will error with to many open cursors.
>
> I am running sqlrelay 3.6.4, but the same results occur on 3.6.2.
> PHP version is 4.4 . Oracle is 9.2g
>
> Here is a couple of consecutive sample results from this code:
>
> 1.
> there are 711 open cursors
> Array
> (
> [StudentSortOrder] => 0
> [ClassID] => 818
> [Class] => Best Wisshes
> [ClassDesc] =>
> [GradeLevel] => 4
> [ActiveStudents] => 1
> )
> there are 712 open cursors
>
> 2.
> there are 712 open cursors
> Array
> (
> [StudentSortOrder] => 0
> [ClassID] => 818
> [Class] => Best Wisshes
> [ClassDesc] =>
> [GradeLevel] => 4
> [ActiveStudents] => 1
> )
> there are 713 open cursors
>
>
>
> What might I be doing wrong?
>
>
> *************************************************************************************
> <pre>
> <?php
>
> $conn =
> sqlrcon_alloc('localhost','','/tmp/emgames.socket','webuser','thisisit',0,1);
> //print_r($conn);
>
> //print_r($relay);
>
> $countquery = "select count(*) from sys.gv_\$open_cursor";
>
> $qcur = sqlrcur_alloc($conn);
> sqlrcur_sendquery($qcur,$countquery);
> sqlrcon_endSession($conn);
>
> $rowarray=sqlrcur_getRow($qcur,0);
>
> echo "there are {$rowarray[0]} open cursors\n";
>
> $procedure = "BEGIN sa.s_classes_teacher(2559,:returncur); END;";
>
> if($cur = sqlrcur_alloc($conn)){
>
> sqlrcur_prepareQuery($cur,$procedure);
>
> sqlrcur_defineOutputBindCursor($cur,'returncur');
>
> sqlrcur_executeQuery($cur);
>
> $returncur = sqlrcur_getOutputBindCursor($cur,'returncur');
>
> sqlrcur_fetchFromBindCursor($returncur);
>
>
> $numrows = sqlrcur_rowCount($returncur);
> $numcolumns = sqlrcur_colCount($returncur);
>
>
> // Get the column names and types
> for($i = 0; $i < $numcolumns; $i++){
> $columnnames[$i] = sqlrcur_getColumnName($returncur,$i);
> $columntypes[$i] = sqlrcur_getColumnType($returncur,$i);
> }
>
> // Get each row column by column and store each of them in the Results
> array
> for($i = 0 ; $i < $numrows ; $i++) {
> for($j = 0 ; $j < $numcolumns; $j++){
> $results[$i][$columnnames[$j]] = sqlrcur_getField($returncur,$i,$j);
> }
> }
> print_r($results[0]);
> sqlrcon_endsession($conn);
> sqlrcur_clearbinds($returncur);
> sqlrcur_free($returncur);
> sqlrcur_clearbinds($cur);
> sqlrcur_free($cur);
>
> }
> else {
> echo "couldn't open cursor";
> }
>
> sqlrcur_sendquery($qcur,$countquery);
> sqlrcon_endSession($conn);
>
>
> $rowarray=sqlrcur_getRow($qcur,0);
>
> echo "there are {$rowarray[0]} open cursors";
>
>
> sqlrcur_free($qcur);
> sqlrcon_free($conn);
> ?>
> </pre>
> *********************************************************************
|
|
From: Dennis B. <den...@mc...> - 2005-09-22 18:02:31
|
Hi,
When running the code below repeatedly I find that the
cursor created in
$returncur = sqlrcur_getOutputBindCursor($cur,'returncur');
is never closed on the oracle server. After enough iterations the
server will error with to many open cursors.
I am running sqlrelay 3.6.4, but the same results occur on 3.6.2.
PHP version is 4.4 . Oracle is 9.2g
Here is a couple of consecutive sample results from this code:
1.
there are 711 open cursors
Array
(
[StudentSortOrder] => 0
[ClassID] => 818
[Class] => Best Wisshes
[ClassDesc] =>
[GradeLevel] => 4
[ActiveStudents] => 1
)
there are 712 open cursors
2.
there are 712 open cursors
Array
(
[StudentSortOrder] => 0
[ClassID] => 818
[Class] => Best Wisshes
[ClassDesc] =>
[GradeLevel] => 4
[ActiveStudents] => 1
)
there are 713 open cursors
What might I be doing wrong?
*************************************************************************************
<pre>
<?php
$conn =
sqlrcon_alloc('localhost','','/tmp/emgames.socket','webuser','thisisit',0,1);
//print_r($conn);
//print_r($relay);
$countquery = "select count(*) from sys.gv_\$open_cursor";
$qcur = sqlrcur_alloc($conn);
sqlrcur_sendquery($qcur,$countquery);
sqlrcon_endSession($conn);
$rowarray=sqlrcur_getRow($qcur,0);
echo "there are {$rowarray[0]} open cursors\n";
$procedure = "BEGIN sa.s_classes_teacher(2559,:returncur); END;";
if($cur = sqlrcur_alloc($conn)){
sqlrcur_prepareQuery($cur,$procedure);
sqlrcur_defineOutputBindCursor($cur,'returncur');
sqlrcur_executeQuery($cur);
$returncur = sqlrcur_getOutputBindCursor($cur,'returncur');
sqlrcur_fetchFromBindCursor($returncur);
$numrows = sqlrcur_rowCount($returncur);
$numcolumns = sqlrcur_colCount($returncur);
// Get the column names and types
for($i = 0; $i < $numcolumns; $i++){
$columnnames[$i] = sqlrcur_getColumnName($returncur,$i);
$columntypes[$i] = sqlrcur_getColumnType($returncur,$i);
}
// Get each row column by column and store each of them in the Results
array
for($i = 0 ; $i < $numrows ; $i++) {
for($j = 0 ; $j < $numcolumns; $j++){
$results[$i][$columnnames[$j]] = sqlrcur_getField($returncur,$i,$j);
}
}
print_r($results[0]);
sqlrcon_endsession($conn);
sqlrcur_clearbinds($returncur);
sqlrcur_free($returncur);
sqlrcur_clearbinds($cur);
sqlrcur_free($cur);
}
else {
echo "couldn't open cursor";
}
sqlrcur_sendquery($qcur,$countquery);
sqlrcon_endSession($conn);
$rowarray=sqlrcur_getRow($qcur,0);
echo "there are {$rowarray[0]} open cursors";
sqlrcur_free($qcur);
sqlrcon_free($conn);
?>
</pre>
*********************************************************************
--
Dennis Bolton
Manager, Web Engineering
McGraw-Hill Learning Group Technology
425-806-3495
|
|
From: Matt F. <ma...@eq...> - 2005-09-21 16:59:39
|
I am using the OCI Collection object to pass an array to a stored procedure instead of passing a bunch of individual arguments. Dennis Bolton wrote: >Here's a link to the Oracle Concepts doc section on collections, it's >part of the objects section. It requires an Oracle login to access. > >Dennis > >http://oraclesvca2.oracle.com/docs/cd/B10501_01/server.920/a96524/c14ordb.htm#429329 > >On Wed, 2005-09-21 at 11:00 -0400, Firstworks/4access wrote: > > >>Sorry, SQL Relay doesn't support the OCI Collection object. In fact, I >>hadn't heard of collections until just now. On the web, I see lots of >>pages explaining how to use the oci collection functions for php, but I >>don't see any pages explaining what a collection is. Could you point me >>at some docs that explain what OCI collections are and how to use them? >> >>David Muse >>dav...@fi... >> >>On Wed, 2005-09-14 at 12:37 -0400, Matt Flynn wrote: >> >> >>>Does sqlrelay support the OCI Collection object as with PHP's >>>oci_new_collection() function? >>> >>>Thanks. >>> >>> >>> >>>------------------------------------------------------- >>>SF.Net email is sponsored by: >>>Tame your development challenges with Apache's Geronimo App Server. Download >>>it for free - -and be entered to win a 42" plasma tv or your very own >>>Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >>>_______________________________________________ >>>Sqlrelay-discussion mailing list >>>Sql...@li... >>>https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >>> >>> >>> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: >>Tame your development challenges with Apache's Geronimo App Server. Download >>it for free - -and be entered to win a 42" plasma tv or your very own >>Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >>_______________________________________________ >>Sqlrelay-discussion mailing list >>Sql...@li... >>https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >> >> |
|
From: Dennis B. <den...@mc...> - 2005-09-21 15:49:36
|
Here's a link to the Oracle Concepts doc section on collections, it's part of the objects section. It requires an Oracle login to access. Dennis http://oraclesvca2.oracle.com/docs/cd/B10501_01/server.920/a96524/c14ordb.htm#429329 On Wed, 2005-09-21 at 11:00 -0400, Firstworks/4access wrote: > Sorry, SQL Relay doesn't support the OCI Collection object. In fact, I > hadn't heard of collections until just now. On the web, I see lots of > pages explaining how to use the oci collection functions for php, but I > don't see any pages explaining what a collection is. Could you point me > at some docs that explain what OCI collections are and how to use them? > > David Muse > dav...@fi... > > On Wed, 2005-09-14 at 12:37 -0400, Matt Flynn wrote: > > Does sqlrelay support the OCI Collection object as with PHP's > > oci_new_collection() function? > > > > Thanks. > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion -- Dennis Bolton Manager, Web Engineering McGraw-Hill Learning Group Technology 425-806-3495 |
|
From: Firstworks/4access <dav...@fi...> - 2005-09-21 14:59:29
|
Sorry, SQL Relay doesn't support the OCI Collection object. In fact, I hadn't heard of collections until just now. On the web, I see lots of pages explaining how to use the oci collection functions for php, but I don't see any pages explaining what a collection is. Could you point me at some docs that explain what OCI collections are and how to use them? David Muse dav...@fi... On Wed, 2005-09-14 at 12:37 -0400, Matt Flynn wrote: > Does sqlrelay support the OCI Collection object as with PHP's > oci_new_collection() function? > > Thanks. > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
|
From: Firstworks/4access <dav...@fi...> - 2005-09-21 14:52:48
|
On Tue, 2005-09-20 at 10:06 +0100, Ville Silventoinen wrote: > Hi, > > I'm trying to compile SQL Relay for Alpha OSF1 V5.1B, but I cannot get > rudiments-0.28.2 to compile. Has anyone tried this? Not as far as I know. > > If I use the native cc compiler, configure fails with an error: > > checking for gcc... no > checking for cc... cc > checking for C compiler default output file name... configure: error: C compiler cannot create executables > See `config.log' for more details. > > cc version is: > Compaq C V6.5-011 on Compaq Tru64 UNIX V5.1B (Rev. 2650) > Compiler Driver V6.5-003 (sys) cc Driver > > I can send you the config.log, if you are interested. Oh wait, OSF is Tru64. I have read on the web about folks trying to get it working on Tru64 and giving up :) I'm sure we can get it going though, send me the config.log and I'll see if I can figure out what's up. > > If I use gcc (3.1.1), configure goes ok, but make fails with an error: > > g++ -Wall -D_REENTRANT -I../ -I../include -c filedescriptor.C -o filedescriptor.o >/dev/null 2>&1 > /bin/sh ../libtool --mode=compile g++ -Wall -D_REENTRANT -I../ -I../include -c file.C -o file.lo > g++ -Wall -D_REENTRANT -I../ -I../include -c file.C -DPIC -o .libs/file.o > file.C: In static member function `static key_t > rudiments::file::generateKey(const char*, int)': > file.C:1405: invalid conversion from `const char*' to `char*' > make[1]: *** [file.lo] Error 1 looks like the ftok() function takes a char * parameter instead of a const char *. That's a new one :) Try the attached code, it should compile further. You'll almost certainly run into problems later with stat/fstat and statfs/fstatfs. Could you look in sys/stat.h and sys/statfs.h and send me the definitions for "struct stat" and "struct statfs"? > > > Thanks in advance for any advice, > > Ville Dave dav...@fi... |
|
From: Arturo G. F. <art...@gm...> - 2005-09-20 10:57:59
|
Hello, I'm involving in a project where I should migrate an application written in= =20 PHP with PEAR DB connecting to MySQL Server, to use SQLRelay.=20 Could somebody tell me what issues would appear using the SQLRelay PEAR API= ?=20 Are the functions names equal? Or a rewrite of all the queries is needed? Cheers, =20 Arturo. |
|
From: Ville S. <vs...@eb...> - 2005-09-20 09:06:45
|
Hi,
I'm trying to compile SQL Relay for Alpha OSF1 V5.1B, but I cannot get
rudiments-0.28.2 to compile. Has anyone tried this?
If I use the native cc compiler, configure fails with an error:
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
cc version is:
Compaq C V6.5-011 on Compaq Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-003 (sys) cc Driver
I can send you the config.log, if you are interested.
If I use gcc (3.1.1), configure goes ok, but make fails with an error:
g++ -Wall -D_REENTRANT -I../ -I../include -c filedescriptor.C -o filedescriptor.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile g++ -Wall -D_REENTRANT -I../ -I../include -c file.C -o file.lo
g++ -Wall -D_REENTRANT -I../ -I../include -c file.C -DPIC -o .libs/file.o
file.C: In static member function `static key_t
rudiments::file::generateKey(const char*, int)':
file.C:1405: invalid conversion from `const char*' to `char*'
make[1]: *** [file.lo] Error 1
Thanks in advance for any advice,
Ville
|
|
From: Adam K. <ka...@li...> - 2005-09-19 15:08:25
|
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = linuxpower2
uname -m = i686
uname -r = 2.6.12-1.1376_FC3smp
uname -s = Linux
uname -v = #1 SMP Fri Aug 26 23:50:33 EDT 2005
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2275: checking for gcc
configure:2291: found /usr/bin/gcc
configure:2301: result: gcc
configure:2545: checking for C compiler version
configure:2548: gcc --version </dev/null >&5
gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2551: $? = 0
configure:2553: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
configure:2556: $? = 0
configure:2558: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2561: $? = 1
configure:2584: checking for C compiler default output file name
configure:2587: gcc -Wall conftest.c >&5
configure:2590: $? = 0
configure:2636: result: a.out
configure:2641: checking whether the C compiler works
configure:2647: ./a.out
configure:2650: $? = 0
configure:2667: result: yes
configure:2674: checking whether we are cross compiling
configure:2676: result: no
configure:2679: checking for suffix of executables
configure:2681: gcc -o conftest -Wall conftest.c >&5
configure:2684: $? = 0
configure:2709: result:
configure:2715: checking for suffix of object files
configure:2736: gcc -c -Wall conftest.c >&5
configure:2739: $? = 0
configure:2761: result: o
configure:2765: checking whether we are using the GNU C compiler
configure:2789: gcc -c -Wall conftest.c >&5
configure:2795: $? = 0
configure:2799: test -z
|| test ! -s conftest.err
configure:2802: $? = 0
configure:2805: test -s conftest.o
configure:2808: $? = 0
configure:2821: result: yes
configure:2827: checking whether gcc accepts -g
configure:2848: gcc -c -g conftest.c >&5
configure:2854: $? = 0
configure:2858: test -z
|| test ! -s conftest.err
configure:2861: $? = 0
configure:2864: test -s conftest.o
configure:2867: $? = 0
configure:2878: result: yes
configure:2895: checking for gcc option to accept ANSI C
configure:2965: gcc -c -Wall conftest.c >&5
configure:2971: $? = 0
configure:2975: test -z
|| test ! -s conftest.err
configure:2978: $? = 0
configure:2981: test -s conftest.o
configure:2984: $? = 0
configure:3002: result: none needed
configure:3020: gcc -c -Wall conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3026: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3211: checking for g++
configure:3227: found /usr/bin/g++
configure:3237: result: g++
configure:3253: checking for C++ compiler version
configure:3256: g++ --version </dev/null >&5
g++ (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3259: $? = 0
configure:3261: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
configure:3264: $? = 0
configure:3266: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:3269: $? = 1
configure:3272: checking whether we are using the GNU C++ compiler
configure:3296: g++ -c -Wall conftest.cc >&5
configure:3302: $? = 0
configure:3306: test -z
|| test ! -s conftest.err
configure:3309: $? = 0
configure:3312: test -s conftest.o
configure:3315: $? = 0
configure:3328: result: yes
configure:3334: checking whether g++ accepts -g
configure:3355: g++ -c -g conftest.cc >&5
configure:3361: $? = 0
configure:3365: test -z
|| test ! -s conftest.err
configure:3368: $? = 0
configure:3371: test -s conftest.o
configure:3374: $? = 0
configure:3385: result: yes
configure:3427: g++ -c -Wall conftest.cc >&5
configure:3433: $? = 0
configure:3437: test -z
|| test ! -s conftest.err
configure:3440: $? = 0
configure:3443: test -s conftest.o
configure:3446: $? = 0
configure:3472: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:14: error: `exit' undeclared (first use this function)
conftest.cc:14: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:3478: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3427: g++ -c -Wall conftest.cc >&5
configure:3433: $? = 0
configure:3437: test -z
|| test ! -s conftest.err
configure:3440: $? = 0
configure:3443: test -s conftest.o
configure:3446: $? = 0
configure:3472: g++ -c -Wall conftest.cc >&5
configure:3478: $? = 0
configure:3482: test -z
|| test ! -s conftest.err
configure:3485: $? = 0
configure:3488: test -s conftest.o
configure:3491: $? = 0
configure:3519: checking how to run the C preprocessor
configure:3554: gcc -E conftest.c
configure:3560: $? = 0
configure:3592: gcc -E conftest.c
conftest.c:13:28: ac_nonexistent.h: No such file or directory
configure:3598: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3637: result: gcc -E
configure:3661: gcc -E conftest.c
configure:3667: $? = 0
configure:3699: gcc -E conftest.c
conftest.c:13:28: ac_nonexistent.h: No such file or directory
configure:3705: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3786: checking for a BSD-compatible install
configure:3841: result: /usr/bin/install -c
configure:3852: checking whether ln -s works
configure:3856: result: yes
configure:3863: checking whether make sets $(MAKE)
configure:3883: result: yes
configure:3985: checking build system type
configure:4003: result: i686-pc-linux-gnu
configure:4011: checking host system type
configure:4025: result: i686-pc-linux-gnu
configure:4033: checking for a sed that does not truncate output
configure:4087: result: /bin/sed
configure:4090: checking for egrep
configure:4100: result: grep -E
configure:4116: checking for ld used by g++
configure:4183: result: /usr/bin/ld
configure:4192: checking if the linker (/usr/bin/ld) is GNU ld
configure:4207: result: yes
configure:4212: checking for /usr/bin/ld option to reload object files
configure:4219: result: -r
configure:4228: checking for BSD-compatible nm
configure:4270: result: /usr/bin/nm -B
configure:4274: checking how to recognise dependent libraries
configure:4474: result: pass_all
configure:4926: checking for ANSI C header files
configure:4951: g++ -c -Wall conftest.cc >&5
configure:4957: $? = 0
configure:4961: test -z
|| test ! -s conftest.err
configure:4964: $? = 0
configure:4967: test -s conftest.o
configure:4970: $? = 0
./configure: line 4992: conftest.cc: command not found
configure:5082: result: no
configure:5106: checking for sys/types.h
configure:5122: g++ -c -Wall conftest.cc >&5
configure:5128: $? = 0
configure:5132: test -z
|| test ! -s conftest.err
configure:5135: $? = 0
configure:5138: test -s conftest.o
configure:5141: $? = 0
configure:5152: result: yes
configure:5106: checking for sys/stat.h
configure:5122: g++ -c -Wall conftest.cc >&5
configure:5128: $? = 0
configure:5132: test -z
|| test ! -s conftest.err
configure:5135: $? = 0
configure:5138: test -s conftest.o
configure:5141: $? = 0
configure:5152: result: yes
configure:5106: checking for stdlib.h
configure:5122: g++ -c -Wall conftest.cc >&5
configure:5128: $? = 0
configure:5132: test -z
|| test ! -s conftest.err
configure:5135: $? = 0
configure:5138: test -s conftest.o
configure:5141: $? = 0
configure:5152: result: yes
configure:5106: checking for string.h
configure:5122: g++ -c -Wall conftest.cc >&5
configure:5128: $? = 0
configure:5132: test -z
|| test ! -s conftest.err
configure:5135: $? = 0
configure:5138: test -s conftest.o
configure:5141: $? = 0
configure:5152: result: yes
configure:5106: checking for memory.h
configure:5122: g++ -c -Wall conftest.cc >&5
configure:5128: $? = 0
configure:5132: test -z
|| test ! -s conftest.err
configure:5135: $? = 0
configure:5138: test -s conftest.o
configure:5141: $? = 0
configure:5152: result: yes
configure:5106: checking for strings.h
configure:5122: g++ -c -Wall conftest.cc >&5
configure:5128: $? = 0
configure:5132: test -z
|| test ! -s conftest.err
configure:5135: $? = 0
configure:5138: test -s conftest.o
configure:5141: $? = 0
configure:5152: result: yes
configure:5106: checking for inttypes.h
configure:5122: g++ -c -Wall conftest.cc >&5
configure:5128: $? = 0
configure:5132: test -z
|| test ! -s conftest.err
configure:5135: $? = 0
configure:5138: test -s conftest.o
configure:5141: $? = 0
configure:5152: result: yes
configure:5106: checking for stdint.h
configure:5122: g++ -c -Wall conftest.cc >&5
configure:5128: $? = 0
configure:5132: test -z
|| test ! -s conftest.err
configure:5135: $? = 0
configure:5138: test -s conftest.o
configure:5141: $? = 0
configure:5152: result: yes
configure:5106: checking for unistd.h
configure:5122: g++ -c -Wall conftest.cc >&5
configure:5128: $? = 0
configure:5132: test -z
|| test ! -s conftest.err
configure:5135: $? = 0
configure:5138: test -s conftest.o
configure:5141: $? = 0
configure:5152: result: yes
configure:5178: checking dlfcn.h usability
configure:5190: g++ -c -Wall conftest.cc >&5
configure:5196: $? = 0
configure:5200: test -z
|| test ! -s conftest.err
configure:5203: $? = 0
configure:5206: test -s conftest.o
configure:5209: $? = 0
configure:5219: result: yes
configure:5223: checking dlfcn.h presence
configure:5233: conftest.cc
./configure: line 5234: conftest.cc: command not found
configure:5239: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <dlfcn.h>
configure:5259: result: no
configure:5265: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!
configure:5267: WARNING: dlfcn.h: proceeding with the compiler's result
configure:5294: checking for dlfcn.h
configure:5301: result: yes
configure:5319: checking how to run the C++ preprocessor
configure:5350: g++ -E conftest.cc
configure:5356: $? = 0
configure:5388: g++ -E conftest.cc
conftest.cc:23:28: ac_nonexistent.h: No such file or directory
configure:5394: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5433: result: g++ -E
configure:5457: g++ -E conftest.cc
configure:5463: $? = 0
configure:5495: g++ -E conftest.cc
conftest.cc:23:28: ac_nonexistent.h: No such file or directory
configure:5501: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5596: checking for g77
configure:5612: found /usr/bin/g77
configure:5622: result: g77
configure:5637: checking for Fortran 77 compiler version
configure:5640: g77 --version </dev/null >&5
GNU Fortran (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
Copyright (C) 2004 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
configure:5643: $? = 0
configure:5645: g77 -v </dev/null >&5
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
configure:5648: $? = 0
configure:5650: g77 -V </dev/null >&5
g77: `-V' option must have argument
configure:5653: $? = 1
configure:5661: checking whether we are using the GNU Fortran 77 compiler
configure:5675: g77 -c conftest.F >&5
configure:5681: $? = 0
configure:5685: test -z
|| test ! -s conftest.err
configure:5688: $? = 0
configure:5691: test -s conftest.o
configure:5694: $? = 0
configure:5707: result: yes
configure:5713: checking whether g77 accepts -g
configure:5725: g77 -c -g conftest.f >&5
configure:5731: $? = 0
configure:5735: test -z
|| test ! -s conftest.err
configure:5738: $? = 0
configure:5741: test -s conftest.o
configure:5744: $? = 0
configure:5756: result: yes
configure:5786: checking the maximum length of command line arguments
configure:5845: result: 32768
configure:5856: checking command to parse /usr/bin/nm -B output from g++ object
configure:5945: g++ -c -Wall conftest.cc >&5
configure:5948: $? = 0
configure:5952: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:5955: $? = 0
configure:6007: g++ -o conftest -Wall conftest.cc conftstm.o >&5
configure:6010: $? = 0
configure:6048: result: ok
configure:6052: checking for objdir
configure:6067: result: .libs
configure:6157: checking for ar
configure:6173: found /usr/bin/ar
configure:6184: result: ar
configure:6237: checking for ranlib
configure:6253: found /usr/bin/ranlib
configure:6264: result: ranlib
configure:6317: checking for strip
configure:6333: found /usr/bin/strip
configure:6344: result: strip
configure:6606: checking if g++ static flag works
configure:6629: result: yes
configure:6650: checking if g++ supports -fno-rtti -fno-exceptions
configure:6668: g++ -c -Wall -fno-rtti -fno-exceptions conftest.c >&5
configure:6672: $? = 0
configure:6683: result: yes
configure:6698: checking for g++ option to produce PIC
configure:6875: result: -fPIC
configure:6882: checking if g++ PIC flag -fPIC works
configure:6900: g++ -c -Wall -fPIC -DPIC conftest.c >&5
configure:6904: $? = 0
configure:6915: result: yes
configure:6939: checking if g++ supports -c -o file.o
configure:6967: g++ -c -Wall -o out/conftest2.o conftest.c >&5
configure:6971: $? = 0
configure:6988: result: yes
configure:7014: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:7828: result: yes
configure:7854: checking whether -lc should be explicitly linked in
configure:7859: g++ -c -Wall conftest.c >&5
configure:7862: $? = 0
configure:7876: g++ -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1
configure:7879: $? = 0
configure:7891: result: no
configure:7899: checking how to hardcode library paths into programs
configure:7924: result: immediate
configure:7938: checking whether stripping libraries is possible
configure:7943: result: yes
configure:7965: checking dynamic linker characteristics
configure:8476: result: GNU/Linux ld.so
configure:9288: checking if libtool supports shared libraries
configure:9290: result: yes
configure:9293: checking whether to build shared libraries
configure:9342: result: yes
configure:9345: checking whether to build static libraries
configure:9349: result: yes
configure:9440: creating libtool
configure:9984: checking for ld used by g++
configure:10051: result: /usr/bin/ld
configure:10060: checking if the linker (/usr/bin/ld) is GNU ld
configure:10075: result: yes
configure:10126: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:10941: result: yes
configure:10963: g++ -c -Wall conftest.cc >&5
configure:10966: $? = 0
configure:11062: checking for g++ option to produce PIC
configure:11314: result: -fPIC
configure:11321: checking if g++ PIC flag -fPIC works
configure:11339: g++ -c -Wall -fPIC -DPIC conftest.cc >&5
configure:11343: $? = 0
configure:11354: result: yes
configure:11378: checking if g++ supports -c -o file.o
configure:11406: g++ -c -Wall -o out/conftest2.o conftest.cc >&5
configure:11410: $? = 0
configure:11427: result: yes
configure:11453: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
configure:11478: result: yes
configure:11549: checking how to hardcode library paths into programs
configure:11574: result: immediate
configure:11588: checking whether stripping libraries is possible
configure:11593: result: yes
configure:11615: checking dynamic linker characteristics
configure:12126: result: GNU/Linux ld.so
configure:13411: checking if libtool supports shared libraries
configure:13413: result: yes
configure:13416: checking whether to build shared libraries
configure:13434: result: yes
configure:13437: checking whether to build static libraries
configure:13441: result: yes
configure:13453: checking for g77 option to produce PIC
configure:13630: result: -fPIC
configure:13637: checking if g77 PIC flag -fPIC works
configure:13655: g77 -c -g -O2 -fPIC conftest.f >&5
configure:13659: $? = 0
configure:13670: result: yes
configure:13694: checking if g77 supports -c -o file.o
configure:13722: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5
configure:13726: $? = 0
configure:13743: result: yes
configure:13769: checking whether the g77 linker (/usr/bin/ld) supports shared libraries
configure:14563: result: yes
configure:14634: checking how to hardcode library paths into programs
configure:14659: result: immediate
configure:14673: checking whether stripping libraries is possible
configure:14678: result: yes
configure:14700: checking dynamic linker characteristics
configure:15211: result: GNU/Linux ld.so
configure:19225: checking for -ar
configure:19252: result: ar
configure:19295: checking for dynamic library extension
configure:19308: result: so
configure:19312: checking for library directory
configure:19318: result: lib
configure:19323: checking whether ld -rpath works
configure:19330: result: yes
configure:19340: checking whether ps aux works
configure:19352: result: yes
configure:19363: checking for -pipe option
configure:19389: g++ -o conftest -Wall -pipe conftest.cc >&5
configure:19395: $? = 0
configure:19399: test -z
|| test ! -s conftest.err
configure:19402: $? = 0
configure:19405: test -s conftest
configure:19408: $? = 0
configure:19426: result: yes
configure:19435: checking for -Wno-long-double option
configure:19461: g++ -o conftest -Wall -Wno-long-double conftest.cc >&5
cc1plus: error: unrecognized command line option "-Wno-long-double"
configure:19467: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| int
| main ()
| {
| printf("hello");
| ;
| return 0;
| }
configure:19501: result: no
configure:19513: checking inline
configure:19528: result: yes
configure:19858: checking for tgetnum in -ltermcap
configure:19888: g++ -o conftest -Wall conftest.cc -ltermcap >&5
configure:19894: $? = 0
configure:19898: test -z
|| test ! -s conftest.err
configure:19901: $? = 0
configure:19904: test -s conftest
configure:19907: $? = 0
configure:19920: result: yes
configure:19931: checking for add_history in -lhistory
configure:19961: g++ -o conftest -Wall conftest.cc -lhistory -ltermcap >&5
configure:19967: $? = 0
configure:19971: test -z
|| test ! -s conftest.err
configure:19974: $? = 0
configure:19977: test -s conftest
configure:19980: $? = 0
configure:19993: result: yes
configure:20005: checking for readline in -lreadline
configure:20035: g++ -o conftest -Wall conftest.cc -lreadline -lhistory -ltermcap >&5
configure:20041: $? = 0
configure:20045: test -z
|| test ! -s conftest.err
configure:20048: $? = 0
configure:20051: test -s conftest
configure:20054: $? = 0
configure:20067: result: yes
configure:20103: checking no extra libraries are required for socket-related calls
configure:20130: gcc -o conftest -Wall conftest.c >&5
conftest.c: In function `main':
conftest.c:29: warning: implicit declaration of function `connect'
conftest.c:29: warning: implicit declaration of function `listen'
conftest.c:29: warning: implicit declaration of function `bind'
conftest.c:29: warning: implicit declaration of function `accept'
conftest.c:29: warning: implicit declaration of function `send'
conftest.c:29: warning: implicit declaration of function `sendto'
conftest.c:29: warning: implicit declaration of function `sendmsg'
conftest.c:29: warning: implicit declaration of function `gethostbyname'
configure:20136: $? = 0
configure:20140: test -z
|| test ! -s conftest.err
configure:20143: $? = 0
configure:20146: test -s conftest
configure:20149: $? = 0
configure:20151: result: yes
configure:20188: checking for dlopen in -ldl
configure:20218: g++ -o conftest -Wall conftest.cc -ldl >&5
configure:20224: $? = 0
configure:20228: test -z
|| test ! -s conftest.err
configure:20231: $? = 0
configure:20234: test -s conftest
configure:20237: $? = 0
configure:20250: result: yes
configure:20259: checking for aioread in -laio
configure:20289: g++ -o conftest -Wall conftest.cc -laio >&5
/usr/bin/ld: cannot find -laio
collect2: ld returned 1 exit status
configure:20295: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char aioread ();
| int
| main ()
| {
| aioread ();
| ;
| return 0;
| }
configure:20321: result: no
configure:20342: checking features.h usability
configure:20354: g++ -c -Wall conftest.cc >&5
configure:20360: $? = 0
configure:20364: test -z
|| test ! -s conftest.err
configure:20367: $? = 0
configure:20370: test -s conftest.o
configure:20373: $? = 0
configure:20383: result: yes
configure:20387: checking features.h presence
configure:20397: g++ -E conftest.cc
configure:20403: $? = 0
configure:20423: result: yes
configure:20458: checking for features.h
configure:20465: result: yes
configure:20479: checking for broken glibc-2.3
configure:20502: g++ -o conftest -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:31: error: `__ctype_toupper' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:20508: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| /* end confdefs.h. */
| #include <ctype.h>
| #include <features.h>
| int
| main ()
| {
| #if __GLIBC__==2 && __GLIBC_MINOR__==3
| __ctype_toupper('a');
| #endif
| ;
| return 0;
| }
configure:20529: result: yes
configure:20639: checking for oracle includes and libraries
configure:20912: result: no
configure:21690: WARNING: Oracle support will not be built.
configure:22217: checking for mysql_real_connect
configure:22244: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `mysql_real_connect' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:22250: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| mysql_real_connect(NULL,NULL,NULL,NULL,NULL,0,NULL,0);
| ;
| return 0;
| }
configure:22275: result: no
configure:22286: checking for mysql_select_db
configure:22313: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `mysql_select_db' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:22319: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| mysql_select_db(NULL,NULL);
| ;
| return 0;
| }
configure:22344: result: no
configure:22355: checking for mysql_ping
configure:22382: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `mysql_ping' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:22388: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| mysql_ping(NULL);
| ;
| return 0;
| }
configure:22413: result: no
configure:22424: checking for mysql_change_user
configure:22451: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `mysql_change_user' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:22457: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| mysql_change_user(NULL,NULL,NULL,NULL);
| ;
| return 0;
| }
configure:22482: result: no
configure:22493: checking for mysql_commit
configure:22520: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `mysql_commit' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:22526: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| mysql_commit(NULL);
| ;
| return 0;
| }
configure:22551: result: no
configure:22562: checking for mysql_rollback
configure:22589: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `mysql_rollback' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:22595: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| mysql_rollback(NULL);
| ;
| return 0;
| }
configure:22620: result: no
configure:22631: checking for mysql_autocommit
configure:22658: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `mysql_autocommit' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:22664: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| mysql_autocommit(NULL);
| ;
| return 0;
| }
configure:22689: result: no
configure:22700: checking for mysql_prepare
configure:22727: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `mysql_prepare' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
configure:22733: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| mysql_prepare(NULL,NULL,0);
| ;
| return 0;
| }
configure:22758: result: no
configure:22769: checking for CR_SERVER_GONE_ERROR
configure:22797: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc:27:20: errmsg.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:32: error: `CR_SERVER_GONE_ERROR' undeclared (first use this function)
conftest.cc:32: error: (Each undeclared identifier is reported only once for each function it appears in.)
conftest.cc:32: warning: unused variable 'err'
configure:22803: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <errmsg.h>
| #include <stdlib.h>
| int
| main ()
| {
| int err=CR_SERVER_GONE_ERROR;
| ;
| return 0;
| }
configure:22828: result: no
configure:22839: checking for CR_SERVER_LOST
configure:22867: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc:27:20: errmsg.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:32: error: `CR_SERVER_LOST' undeclared (first use this function)
conftest.cc:32: error: (Each undeclared identifier is reported only once for each function it appears in.)
conftest.cc:32: warning: unused variable 'err'
configure:22873: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <errmsg.h>
| #include <stdlib.h>
| int
| main ()
| {
| int err=CR_SERVER_LOST;
| ;
| return 0;
| }
configure:22898: result: no
configure:22909: checking for FIELD_TYPE_YEAR
configure:22936: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `MYSQL_FIELD' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
conftest.cc:31: error: expected `;' before "field"
conftest.cc:31: error: `field' undeclared (first use this function)
conftest.cc:31: error: `FIELD_TYPE_YEAR' undeclared (first use this function)
configure:22942: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| MYSQL_FIELD field; field.type=FIELD_TYPE_YEAR;
| ;
| return 0;
| }
configure:22967: result: no
configure:22978: checking for FIELD_TYPE_NEWDATE
configure:23005: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `MYSQL_FIELD' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
conftest.cc:31: error: expected `;' before "field"
conftest.cc:31: error: `field' undeclared (first use this function)
conftest.cc:31: error: `FIELD_TYPE_NEWDATE' undeclared (first use this function)
configure:23011: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| MYSQL_FIELD field; field.type=FIELD_TYPE_NEWDATE;
| ;
| return 0;
| }
configure:23036: result: no
configure:23047: checking for FIELD_TYPE_ENUM
configure:23074: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `MYSQL_FIELD' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
conftest.cc:31: error: expected `;' before "field"
conftest.cc:31: error: `field' undeclared (first use this function)
conftest.cc:31: error: `FIELD_TYPE_ENUM' undeclared (first use this function)
configure:23080: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| MYSQL_FIELD field; field.type=FIELD_TYPE_ENUM;
| ;
| return 0;
| }
configure:23105: result: no
configure:23116: checking for FIELD_TYPE_SET
configure:23143: g++ -o conftest -Wall -I/usr/include -mcpu=pentiumpro conftest.cc -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv >&5
conftest.cc:26:19: mysql.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:31: error: `MYSQL_FIELD' undeclared (first use this function)
conftest.cc:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
conftest.cc:31: error: expected `;' before "field"
conftest.cc:31: error: `field' undeclared (first use this function)
conftest.cc:31: error: `FIELD_TYPE_SET' undeclared (first use this function)
configure:23149: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define DMALLOC 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define INLINE inline
| #define HAVE_READLINE 1
| #define NEED_REDHAT_9_GLIBC_2_3_2_HACK 1
| /* end confdefs.h. */
| #include <mysql.h>
| #include <stdlib.h>
| int
| main ()
| {
| MYSQL_FIELD field; field.type=FIELD_TYPE_SET;
| ;
| return 0;
| }
configure:23174: result: no
configure:23334: WARNING: mSQL support will not be built.
configure:24405: WARNING: PostgreSQL support will not be built.
configure:25433: WARNING: SQLite support will not be built.
configure:25829: WARNING: Lago support will not be built.
configure:26662: WARNING: FreeTDS support will not be built.
configure:27357: WARNING: Sybase support will not be built.
configure:27969: checking if UnixODBC needs threads
configure:27998: g++ -o conftest -Wall conftest.cc -lodbc >&5
configure:28004: $? = 0
configure:28008: test -z
|| test ! -s conftest.err
configure:28011: $? = 0
configure:28014: test -s conftest
configure:28017: $? = 0
configure:28019: result: no
configure:28120: checking if SQLBindParameter takes SQLLEN * argument
configure:28149: g++ -o conftest -Wall conftest.cc -lodbc >&5
configure:28155: $? = 0
configure:28159: test -z
|| test ! -s conftest.err
configure:28162: $? = 0
configure:28165: test -s conftest
configure:28168: $? = 0
configure:28170: result: yes
configure:28191: checking if SQLColAttribute takes SQLLEN * argument
configure:28220: g++ -o conftest -Wall conftest.cc -lodbc >&5
configure:28226: $? = 0
configure:28230: test -z
|| test ! -s conftest.err
configure:28233: $? = 0
configure:28236: test -s conftest
configure:28239: $? = 0
configure:28241: result: yes
configure:28262: checking if SQLRowCount takes SQLLEN * argument
configure:28291: g++ -o conftest -Wall conftest.cc -lodbc >&5
configure:28297: $? = 0
configure:28301: test -z
|| test ! -s conftest.err
configure:28304: $? = 0
configure:28307: test -s conftest
configure:28310: $? = 0
configure:28312: result: yes
configure:28638: WARNING: DB2 support will not be built.
configure:29253: WARNING: Interbase support will not be built.
configure:30159: WARNING: MDB Tools support will not be built.
configure:30215: checking for perl
configure:30231: found /usr/bin/perl
configure:30241: result: perl
configure:30542: checking for Zope
configure:30604: WARNING: The Zope API will not be installed.
configure:30609: result:
configure:30657: checking for ruby
configure:30686: result: no
configure:30657: checking for ruby16
configure:30686: result: no
configure:30657: checking for ruby18
configure:30686: result: no
configure:30731: WARNING: The Ruby API will not be built.
configure:30852: WARNING: The Java API will not be built.
configure:30921: WARNING: "The TCL API will not be installed."
configure:31012: WARNING: "The TCL API will not be installed."
configure:31147: checking for php-config
configure:31163: found /usr/bin/php-config
configure:31173: result: php-config
configure:31296: checking for gtk-config
configure:31325: result: no
configure:31356: WARNING: GTK config tool will not be built.
configure:31384: checking for dirent.h that defines DIR
configure:31408: g++ -c -Wall conftest.cc >&5
configure:31414: $? = 0
configure:31418: test -z
|| test ! -s conftest.err
configure:31421: $? = 0
configure:31424: test -s conftest.o
configure:31427: $? = 0
configure:31438: result: yes
configure:31451: checking for library containing opendir
configure:31481: g++ -o conftest -Wall conftest.cc >&5
configure:31487: $? = 0
configure:31491: test -z
|| test ! -s conftest.err
configure:31494: $? = 0
configure:31497: test -s conftest
configure:31500: $? = 0
configure:31570: result: none required
configure:31706: checking for ANSI C header files
configure:31862: result: no
configure:31878: checking for unistd.h
configure:31883: result: yes
configure:31878: checking for strings.h
configure:31883: result: yes
configure:32029: checking for mode_t
configure:32053: g++ -c -Wall conftest.cc >&5
configure:32059: $? = 0
configure:32063: test -z
|| test ! -s conftest.err
configure:32066: $? = 0
configure:32069: test -s conftest.o
configure:32072: $? = 0
configure:32083: result: yes
configure:32095: checking return type of signal handlers
configure:32126: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:49: warning: unused variable 'i'
configure:32132: $? = 0
configure:32136: test -z
|| test ! -s conftest.err
configure:32139: $? = 0
configure:32142: test -s conftest.o
configure:32145: $? = 0
configure:32156: result: void
configure:32165: checking for unsupported signals
configure:32185: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:41: warning: unused variable 'a'
configure:32191: $? = 0
configure:32195: test -z
|| test ! -s conftest.err
configure:32198: $? = 0
configure:32201: test -s conftest.o
configure:32204: $? = 0
configure:32235: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:42: warning: unused variable 'a'
configure:32241: $? = 0
configure:32245: test -z
|| test ! -s conftest.err
configure:32248: $? = 0
configure:32251: test -s conftest.o
configure:32254: $? = 0
configure:32285: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:43: warning: unused variable 'a'
configure:32291: $? = 0
configure:32295: test -z
|| test ! -s conftest.err
configure:32298: $? = 0
configure:32301: test -s conftest.o
configure:32304: $? = 0
configure:32335: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:44: warning: unused variable 'a'
configure:32341: $? = 0
configure:32345: test -z
|| test ! -s conftest.err
configure:32348: $? = 0
configure:32351: test -s conftest.o
configure:32354: $? = 0
configure:32385: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:45: warning: unused variable 'a'
configure:32391: $? = 0
configure:32395: test -z
|| test ! -s conftest.err
configure:32398: $? = 0
configure:32401: test -s conftest.o
configure:32404: $? = 0
configure:32435: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:46: warning: unused variable 'a'
configure:32441: $? = 0
configure:32445: test -z
|| test ! -s conftest.err
configure:32448: $? = 0
configure:32451: test -s conftest.o
configure:32454: $? = 0
configure:32485: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:47: warning: unused variable 'a'
configure:32491: $? = 0
configure:32495: test -z
|| test ! -s conftest.err
configure:32498: $? = 0
configure:32501: test -s conftest.o
configure:32504: $? = 0
configure:32535: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:48: warning: unused variable 'a'
configure:32541: $? = 0
configure:32545: test -z
|| test ! -s conftest.err
configure:32548: $? = 0
configure:32551: test -s conftest.o
configure:32554: $? = 0
configure:32585: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:49: warning: unused variable 'a'
configure:32591: $? = 0
configure:32595: test -z
|| test ! -s conftest.err
configure:32598: $? = 0
configure:32601: test -s conftest.o
configure:32604: $? = 0
configure:32635: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:50: warning: unused variable 'a'
configure:32641: $? = 0
configure:32645: test -z
|| test ! -s conftest.err
configure:32648: $? = 0
configure:32651: test -s conftest.o
configure:32654: $? = 0
configure:32685: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:51: warning: unused variable 'a'
configure:32691: $? = 0
configure:32695: test -z
|| test ! -s conftest.err
configure:32698: $? = 0
configure:32701: test -s conftest.o
configure:32704: $? = 0
configure:32735: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:52: warning: unused variable 'a'
configure:32741: $? = 0
configure:32745: test -z
|| test ! -s conftest.err
configure:32748: $? = 0
configure:32751: test -s conftest.o
configure:32754: $? = 0
configure:32785: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:53: warning: unused variable 'a'
configure:32791: $? = 0
configure:32795: test -z
|| test ! -s conftest.err
configure:32798: $? = 0
configure:32801: test -s conftest.o
configure:32804: $? = 0
configure:32835: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:54: warning: unused variable 'a'
configure:32841: $? = 0
configure:32845: test -z
|| test ! -s conftest.err
configure:32848: $? = 0
configure:32851: test -s conftest.o
configure:32854: $? = 0
configure:32885: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:55: warning: unused variable 'a'
configure:32891: $? = 0
configure:32895: test -z
|| test ! -s conftest.err
configure:32898: $? = 0
configure:32901: test -s conftest.o
configure:32904: $? = 0
configure:32935: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:56: warning: unused variable 'a'
configure:32941: $? = 0
configure:32945: test -z
|| test ! -s conftest.err
configure:32948: $? = 0
configure:32951: test -s conftest.o
configure:32954: $? = 0
configure:32985: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:57: warning: unused variable 'a'
configure:32991: $? = 0
configure:32995: test -z
|| test ! -s conftest.err
configure:32998: $? = 0
configure:33001: test -s conftest.o
configure:33004: $? = 0
configure:33035: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:58: warning: unused variable 'a'
configure:33041: $? = 0
configure:33045: test -z
|| test ! -s conftest.err
configure:33048: $? = 0
configure:33051: test -s conftest.o
configure:33054: $? = 0
configure:33085: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:59: warning: unused variable 'a'
configure:33091: $? = 0
configure:33095: test -z
|| test ! -s conftest.err
configure:33098: $? = 0
configure:33101: test -s conftest.o
configure:33104: $? = 0
configure:33135: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:60: warning: unused variable 'a'
configure:33141: $? = 0
configure:33145: test -z
|| test ! -s conftest.err
configure:33148: $? = 0
configure:33151: test -s conftest.o
configure:33154: $? = 0
configure:33185: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:61: warning: unused variable 'a'
configure:33191: $? = 0
configure:33195: test -z
|| test ! -s conftest.err
configure:33198: $? = 0
configure:33201: test -s conftest.o
configure:33204: $? = 0
configure:33235: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:62: warning: unused variable 'a'
configure:33241: $? = 0
configure:33245: test -z
|| test ! -s conftest.err
configure:33248: $? = 0
configure:33251: test -s conftest.o
configure:33254: $? = 0
configure:33285: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:63: warning: unused variable 'a'
configure:33291: $? = 0
configure:33295: test -z
|| test ! -s conftest.err
configure:33298: $? = 0
configure:33301: test -s conftest.o
configure:33304: $? = 0
configure:33335: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:64: warning: unused variable 'a'
configure:33341: $? = 0
configure:33345: test -z
|| test ! -s conftest.err
configure:33348: $? = 0
configure:33351: test -s conftest.o
configure:33354: $? = 0
configure:33385: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:65: warning: unused variable 'a'
configure:33391: $? = 0
configure:33395: test -z
|| test ! -s conftest.err
configure:33398: $? = 0
configure:33401: test -s conftest.o
configure:33404: $? = 0
configure:33435: g++ -c -Wall conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:66: warning: unused variable 'a'
configure:33441: $? = 0
configure:33445: test -z
|| test ! -s conftest.err
configure:33448: $? = 0
configure:33451: test -s conftest.o...
[truncated message content] |
|
From: David H. <DH...@pc...> - 2005-09-16 07:51:01
|
Can you please unsubscribe me to the swlrelay disccussion group |
|
From: David M. <dav...@fi...> - 2005-09-16 02:22:50
|
Try running debug on; in sqlrsh before running a query and see what's going on. There's a bug in 0.37pre2 where it can hang if you use an invalid user or password. It'll be fixed in 0.37pre3 which will be out soon. If it's not obvious what's going on, send me the output and I'll look at it. Dave dav...@fi... On Thu, 2005-09-15 at 10:00 +0300, Ionut Ciocirlan wrote: > It built succesfully after removing the old install. > > The connections and the listener start up properly, but when attempting to > run any query (or even ping), it hangs. The same happens from sqlrsh. > I tried building it both against the instantclient and the 9i oracle > installation -- same result. > > Ionut > > ----- Original Message ----- > From: "Firstworks/4access" <dav...@fi...> > To: <sql...@li...> > Sent: Wednesday, September 14, 2005 10:41 PM > Subject: Re: [Sqlrelay-discussion] 0.37 pre 2 [Old: memory corruption,apache > segfault] > > > It looks like you might have an old version of SQL Relay installed on > your system and the build process is including the sqlrclient.h header > file from the old version when trying to build the command line tools. > > Try removing the old SQL Relay and Rudiments installations before > building the new ones. > > Dave > dav...@fi... > > On Wed, 2005-09-14 at 22:25 +0300, Ionut Ciocirlan wrote: > > Another issue: it builds the mysql stuff, although configured > > with --disable-mysql (and the configure summary says "MySQL no") > > > > ----- Original Message ----- > > From: "Ionut Ciocirlan" <ion...@av...> > > To: <sql...@li...> > > Sent: Wednesday, September 14, 2005 10:07 PM > > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault > > > > > > Make fails for sqlrelay... (i think it's quite at the end..) > > > > make -C cmdline all > > make[2]: Entering directory `/usr/local/src/sqlrelay/src/cmdline' > > /bin/sh ../../libtool --mode=compile > > > > -Wall -pipe -DDEFAULT_CONFIG_FILE=\"/usr/local/firstworks/etc/sqlrelay.conf\" > > -DSYSTEM_SQLRSHRC=\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../ -I../../src/common > > -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/include > > -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.lo > > mkdir .libs > > g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=\"/usr/local/firstworks/etc/sqlrelay.conf\" > > -DSYSTEM_SQLRSHRC=\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../ -I../../src/common > > -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/include > > -I/usr/kerberos/include -I/usr/include/pcre -c query.C -fPIC -DPIC -o > > .libs/query.o > > g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=\"/usr/local/firstworks/etc/sqlrelay.conf\" > > -DSYSTEM_SQLRSHRC=\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../ -I../../src/common > > -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/include > > -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.o > > >/dev/null 2>&1 > > /bin/sh ../../libtool --mode=link g++ -Wall -pipe -o query > > query.lo -L../../src/util -lsqlrutil -L../../src/api/c++/src -lsqlrclient > > -L/usr/local/firstworks/lib > > -lrudiments -lpthread -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 > > -lcom_err -lk5crypto -lresolv -ldl -lz -L/usr/lib -lpcre -lrt -lrt -lcrypt > > -ldl > > g++ -Wall -pipe -o .libs/query > > libs/query.o -L/usr/local/src/sqlrelay/src/util > > /usr/local/src/sqlrelay/src/util/.libs/libsqlrutil.so -L/usr/local/firstworks/lib > > -L/usr/kerberos/lib -L/usr/lib -L/usr/local/src/sqlrelay/src/api/c++/src > > /usr/local/firstworks/lib/libsqlrclient.so > > /usr/local/firstworks/lib/librudiments.so -lpthread -lssl -lcrypto -lgssapi_krb5 > > -lkrb5 -lcom_err -lk5crypto -lresolv -lz -lpcre -lrt -lcrypt -ldl -Wl,--rpath > > -Wl,/usr/local/firstworks/lib > > .libs/query.o(.text+0x3ae): In function `main': > > : undefined reference to `sqlrconnection::sqlrconnection(char const*, > > unsigned short, char const*, char const*, char const*, int, int)' > > .libs/query.o(.text+0x40a): In function `main': > > : undefined reference to `sqlrcursor::setResultSetBufferSize(unsigned long > > long)' > > .libs/query.o(.text+0x4b9): In function `main': > > : undefined reference to `sqlrcursor::getField(unsigned long long, > > unsigned > > int)' > > collect2: ld returned 1 exit status > > make[2]: *** [query] Error 1 > > make[2]: Leaving directory `/usr/local/src/sqlrelay/src/cmdline' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory `/usr/local/src/sqlrelay/src' > > make: *** [all] Error 2 > > > > Ionut > > > > ----- Original Message ----- > > From: "Firstworks/4access" <dav...@fi...> > > To: <sql...@li...> > > Sent: Wednesday, September 14, 2005 6:22 PM > > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault > > > > > > Try http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz and see what you > > get. I didn't specifically fix the problem, but some of the changes I > > made for handling non-ascii data may have fixed it. > > > > Dave > > dav...@fi... > > > > On Wed, 2005-09-14 at 16:09 +0300, Ionut Ciocirlan wrote: > > > Yes, still happening. > > > > > > Should i try CVS? > > > > > > Ionut > > > > > > ----- Original Message ----- > > > From: "David Muse" <dav...@fi...> > > > To: <sql...@li...> > > > Sent: Wednesday, September 14, 2005 4:27 AM > > > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault > > > > > > > > > | Well, I said I'd look into this problem, then I misplaced the email > > > | until today :/ > > > | > > > | Are you still having this problem? > > > | > > > | David Muse > > > | dav...@fi... > > > | > > > | > > > | On Fri, 2005-08-19 at 07:48 +0300, Ionut Ciocirlan wrote: > > > | > Hi, > > > | > > > > | > Nasty problem I ran into: > > > | > > > > | > I'm running sqlrelay-0.36.4 compiled against oracle instant > > > client-10.1.0.4, > > > | > on fedora core 3, glibc-2.3.5; apache-2.0.53 / php-4.3.11. > > > | > > > > | > Trying to fetch text containing several utf-8 characters (namely > > > diacritics) > > > | > from clobs sometimes crashes apache, with glibc memory errors. > > > | > > > > | > NLS_LANG is .AL32UTF8 for both Oracle and SQL Relay; data posted > > > into > > > Apache > > > | > is in UTF-8. > > > | > > > > | > Apache crashes with various messages: > > > | > > > > | > *** glibc detected *** malloc(): memory corruption: 0x094d6f20 *** > > > | > [notice] child pid 4005 exit signal Aborted (6) > > > | > > > > | > *** glibc detected *** free(): invalid next size (fast): 0x0a174a80 > > > *** > > > | > [notice] child pid 15277 exit signal Aborted (6) > > > | > > > > | > *** glibc detected *** double free or corruption (!prev): 0x094d0ee0 > > > *** > > > | > [notice] child pid 4004 exit signal Aborted (6) > > > | > > > > | > *** glibc detected *** double free or corruption (out): 0x0948c598 > > > *** > > > | > [notice] child pid 4062 exit signal Aborted (6) > > > | > [notice] child pid 4009 exit signal Segmentation fault (11) > > > | > > > > | > The most common error is the first (memory corruption). On almost > > > all > > > | > occasions, the client browser gets a zero-sized reply. I'd say it's > > > random, > > > | > but on fast reruns it happens ~ 5 out of 6 times. Sometimes (rarely) > > > i > > > get > > > | > no crash, but apache hangs without replying, and the browser hangs > > > waiting > > > | > for an answer. > > > | > > > > | > Reproduce this by inserting characters 'z ăîşţâ y ĂÎŞŢÂ x' in a clob > > > column. > > > | > If it doesn't reproduce add this strign several more times and mix > > > it > > > with > > > | > various other text. > > > | > > > > | > So, this happens only on clob columns (never on char/varchar): > > > | > > > > | > Fetching (illegally?) in non-lob mode crashes at sqlrcur_sendQuery: > > > | > > > > | > $query = 'select column from table where id = xx'; > > > | > sqlrcur_sendQuery($cur,$query); > > > | > ---- crash > > > | > > > > | > Clob fetching crashes at sqlrcur_executeQuery: > > > | > > > > | > $query = 'begin > > > | > select column into :outvar from table where where id = xx; > > > | > end;' > > > | > sqlrcur_prepareQuery($cur, $query); > > > | > sqlrcur_defineOutputBindClob($cur, 'outvar'); > > > | > sqlrcur_executeQuery($cur); > > > | > ---- crash > > > | > > > > | > > > > | > The memory corruption issues seem to be pretty real: it reflects > > > mainly > > > in a > > > | > flash communication server running on the same machine, that after > > > several > > > | > such events starts behaving erratically. Sshd and samba get erratic > > > too > > > | > (connections lost etc.). Also, after several hours of > > > testing/debugging, > > > my > > > | > kernel Oopsed. And just now network connectivity went into oblivion. > > > The > > > | > only solution to restoring normal operation seems to be rebooting. > > > | > > > > | > Conclusions so far: > > > | > - not a machine problem; memtested the hell out of the ram; > > > | > - not an oracle/oci/glibc problem; i recompiled php's oci8 extension > > > against > > > | > the same oracle instant client libs, and i get the expected output, > > > plus > > > no > > > | > crashes; > > > | > - i also recompiled sqlrelay against the 9.1 oracle installation; > > > same > > > | > results; > > > | > - might be a problem that appeared since 0.34 (we did some extensive > > > testing > > > | > back then, and it all worked out fine); i wanted to test now on 0.34 > > > too, > > > | > but for some reason it now fails to compile right from the start > > > | > > > > | > I hope this will be easy to reproduce / repair..... > > > | > > > > | > Regards, > > > | > Ionut > > > | > > > > | > > > > | > > > > | > ------------------------------------------------------- > > > | > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > | > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > > Practices > > > | > Agile & Plan-Driven Development * Managing Projects & Teams * > > > Testing > > > & > > > QA > > > | > Security * Process Improvement & Measurement * > > > http://www.sqe.com/bsce5sf > > > | > _______________________________________________ > > > | > Sqlrelay-discussion mailing list > > > | > Sql...@li... > > > | > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > | > > > > | > > > | > > > | > > > | ------------------------------------------------------- > > > | SF.Net email is sponsored by: > > > | Tame your development challenges with Apache's Geronimo App Server. > > > Download > > > | it for free - -and be entered to win a 42" plasma tv or your very own > > > | Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > | _______________________________________________ > > > | Sqlrelay-discussion mailing list > > > | Sql...@li... > > > | https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: > > > Tame your development challenges with Apache's Geronimo App Server. > > > Download > > > it for free - -and be entered to win a 42" plasma tv or your very own > > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Sqlrelay-discussion mailing list > > > Sql...@li... > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
|
From: David M. <dav...@fi...> - 2005-09-16 02:11:55
|
I remember seeing this bug, but I don't remember what the fix was for it :) Could you send me your config.log, it should have enough info for me to remember. David Muse dav...@fi... On Wed, 2005-09-14 at 09:27 -0700, Adam Kane wrote: > Hi all, > > I have attempted to install sqlrelay-0.36.4 on a fedora core 3 machine > but have received errors regarding mysql, as if it is not finding > mysql on the machine (even when I specify the mysql prefix path in the > configure options.. > > any suggestions would be appreciated. thanks. > > here are the errors I am receving: > > > configure command output for mysql: > > ***** MySQL ****************** > checking for mysql_real_connect... no > checking for mysql_select_db... no > checking for mysql_ping... no > checking for mysql_change_user... no > checking for mysql_commit... no > checking for mysql_rollback... no > checking for mysql_autocommit... no > checking for mysql_prepare... no > checking for CR_SERVER_GONE_ERROR... no > checking for CR_SERVER_LOST... no > checking for FIELD_TYPE_YEAR... no > checking for FIELD_TYPE_NEWDATE... no > checking for FIELD_TYPE_ENUM... no > checking for FIELD_TYPE_SET... no > mysql includes... -I/usr/include -mcpu=pentiumpro > mysql libs... -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc > -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv > ****************************** > > Make command errors: > > (cd .libs && rm -f libsqlrconnection_debug.la && ln -s > ../libsqlrconnection_debug.la libsqlrconnection_debug.la) > make[2]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src/connection' > make -C connections all > make[2]: Entering directory `/usr/local/src/sqlrelay-0.36.4/src/connections' > make -C mysql all > make[3]: Entering directory > `/usr/local/src/sqlrelay-0.36.4/src/connections/mysql' > /bin/sh ../../../libtool --mode=compile g++ -Wall -pipe -I./ -I../../../ > -I../../../src/common -I../../../src/util -I../../../src/connection > -I/usr/local/firstworks/include -I/usr/kerberos/include -I/usr/include/pcre > -I/usr/include -mcpu=pentiumpro -c mysqlconnection.C -o mysqlconnection.lo > mkdir .libs > g++ -Wall -pipe -I./ -I../../../ -I../../../src/common -I../../../src/util > -I../../../src/connection -I/usr/local/firstworks/include > -I/usr/kerberos/include -I/usr/include/pcre -I/usr/include -mcpu=pentiumpro > -c mysqlconnection.C -fPIC -DPIC -o .libs/mysqlconnection.o > In file included from mysqlconnection.C:5: > ./mysqlconnection.h:11:19: mysql.h: No such file or directory > In file included from mysqlconnection.C:5: > ./mysqlconnection.h:32: error: ISO C++ forbids declaration of `MYSQL_RES' > with no type > ./mysqlconnection.h:32: error: expected `;' before '*' token > ./mysqlconnection.h:33: error: ISO C++ forbids declaration of `MYSQL_FIELD' > with no type > ./mysqlconnection.h:33: error: expected `;' before '*' token > ./mysqlconnection.h:34: error: `MYSQL_ROW' does not name a type > ./mysqlconnection.h:68: error: `MYSQL' does not name a type > mysqlconnection.C: In member function `virtual bool > mysqlconnection::logIn()': > mysqlconnection.C:73: error: `mysql' undeclared (first use this function) > mysqlconnection.C:73: error: (Each undeclared identifier is reported only > once for each function it appears in.) > mysqlconnection.C:73: error: `mysql_connect' undeclared (first use this > function) > mysqlconnection.C:75: error: `mysql_error' undeclared (first use this > function) > mysqlconnection.C:49: warning: unused variable 'dbval' > mysqlconnection.C: In member function `virtual void > mysqlconnection::logOut()': > mysqlconnection.C:110: error: `mysql' undeclared (first use this function) > mysqlconnection.C:110: error: `mysql_close' undeclared (first use this > function) > mysqlconnection.C: In constructor > `mysqlcursor::mysqlcursor(sqlrconnection*)': > mysqlconnection.C:165: error: `mysqlresult' undeclared (first use this > function) > mysqlconnection.C: In member function `virtual bool > mysqlcursor::executeQuery(const char*, long int, bool)': > mysqlconnection.C:175: error: `mysqlresult' undeclared (first use this > function) > mysqlconnection.C:182: error: 'class mysqlconnection' has no member named > 'mysql' > mysqlconnection.C:184: error: `mysql_real_query' undeclared (first use this > function) > mysqlconnection.C:190: error: 'class mysqlconnection' has no member named > 'mysql' > mysqlconnection.C:199: error: 'class mysqlconnection' has no member named > 'mysql' > mysqlconnection.C:199: error: `mysql_affected_rows' undeclared (first use > this function) > mysqlconnection.C:202: error: 'class mysqlconnection' has no member named > 'mysql' > mysqlconnection.C:202: error: `mysql_store_result' undeclared (first use > this function) > mysqlconnection.C:203: error: `MYSQL_RES' undeclared (first use this > function) > mysqlconnection.C:203: error: expected primary-expression before ')' token > mysqlconnection.C:203: error: expected `)' before "" > mysqlconnection.C:207: error: 'class mysqlconnection' has no member named > 'mysql' > mysqlconnection.C:207: error: `mysql_error' undeclared (first use this > function) > mysqlconnection.C:216: error: `mysql_num_fields' undeclared (first use this > function) > mysqlconnection.C:219: error: `mysql_num_rows' undeclared (first use this > function) > mysqlconnection.C: In member function `virtual const char* > mysqlcursor::getErrorMessage(bool*)': > mysqlconnection.C:227: error: 'class mysqlconnection' has no member named > 'mysql' > mysqlconnection.C:227: error: `mysql_error' undeclared (first use this > function) > mysqlconnection.C: In member function `virtual void > mysqlcursor::returnColumnInfo()': > mysqlconnection.C:268: error: `mysqlresult' undeclared (first use this > function) > mysqlconnection.C:277: error: `mysql_field_seek' undeclared (first use this > function) > mysqlconnection.C:283: error: `mysqlfield' undeclared (first use this > function) > mysqlconnection.C:283: error: `mysql_fetch_field' undeclared (first use this > function) > mysqlconnection.C:286: error: `FIELD_TYPE_STRING' undeclared (first use this > function) > mysqlconnection.C:289: error: `FIELD_TYPE_VAR_STRING' undeclared (first use > this function) > mysqlconnection.C:292: error: `FIELD_TYPE_DECIMAL' undeclared (first use > this function) > mysqlconnection.C:302: error: `FIELD_TYPE_TINY' undeclared (first use this > function) > mysqlconnection.C:305: error: `FIELD_TYPE_SHORT' undeclared (first use this > function) > mysqlconnection.C:308: error: `FIELD_TYPE_LONG' undeclared (first use this > function) > mysqlconnection.C:311: error: `FIELD_TYPE_FLOAT' undeclared (first use this > function) > mysqlconnection.C:318: error: `FIELD_TYPE_DOUBLE' undeclared (first use this > function) > mysqlconnection.C:321: error: `FIELD_TYPE_LONGLONG' undeclared (first use > this function) > mysqlconnection.C:324: error: `FIELD_TYPE_INT24' undeclared (first use this > function) > mysqlconnection.C:327: error: `FIELD_TYPE_TIMESTAMP' undeclared (first use > this function) > mysqlconnection.C:330: error: `FIELD_TYPE_DATE' undeclared (first use this > function) > mysqlconnection.C:333: error: `FIELD_TYPE_TIME' undeclared (first use this > function) > mysqlconnection.C:336: error: `FIELD_TYPE_DATETIME' undeclared (first use > this function) > mysqlconnection.C:349: error: `FIELD_TYPE_NULL' undeclared (first use this > function) > mysqlconnection.C:375: error: `FIELD_TYPE_TINY_BLOB' undeclared (first use > this function) > mysqlconnection.C:378: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared (first use > this function) > mysqlconnection.C:381: error: `FIELD_TYPE_LONG_BLOB' undeclared (first use > this function) > mysqlconnection.C:384: error: `FIELD_TYPE_BLOB' undeclared (first use this > function) > mysqlconnection.C:404: error: `IS_NOT_NULL' undeclared (first use this > function) > mysqlconnection.C:405: error: `IS_PRI_KEY' undeclared (first use this > function) > mysqlconnection.C:406: error: `UNIQUE_KEY_FLAG' undeclared (first use this > function) > mysqlconnection.C:407: error: `MULTIPLE_KEY_FLAG' undeclared (first use this > function) > mysqlconnection.C:408: error: `UNSIGNED_FLAG' undeclared (first use this > function) > mysqlconnection.C:409: error: `ZEROFILL_FLAG' undeclared (first use this > function) > mysqlconnection.C: In member function `virtual bool > mysqlcursor::noRowsToReturn()': > mysqlconnection.C:426: error: `mysqlresult' undeclared (first use this > function) > mysqlconnection.C: In member function `virtual bool > mysqlcursor::fetchRow()': > mysqlconnection.C:434: error: `mysqlrow' undeclared (first use this > function) > mysqlconnection.C:434: error: `mysqlresult' undeclared (first use this > function) > mysqlconnection.C:434: error: `mysql_fetch_row' undeclared (first use this > function) > mysqlconnection.C: In member function `virtual void > mysqlcursor::returnRow()': > mysqlconnection.C:441: error: `mysqlrow' undeclared (first use this > function) > mysqlconnection.C: In member function `virtual void > mysqlcursor::cleanUpData(bool, bool)': > mysqlconnection.C:451: error: `mysqlresult' undeclared (first use this > function) > mysqlconnection.C:451: error: `MYSQL_RES' undeclared (first use this > function) > mysqlconnection.C:451: error: expected primary-expression before ')' token > mysqlconnection.C:451: error: expected `)' before "" > mysqlconnection.C:452: error: `mysql_free_result' undeclared (first use this > function) > make[3]: *** [mysqlconnection.lo] Error 1 > make[3]: Leaving directory > `/usr/local/src/sqlrelay-0.36.4/src/connections/mysql' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src/connections' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src' > make: *** [all] Error 2 |
|
From: Ionut C. <ion...@av...> - 2005-09-15 06:51:23
|
It built succesfully after removing the old install. The connections and the listener start up properly, but when attempting t= o=20 run any query (or even ping), it hangs. The same happens from sqlrsh. I tried building it both against the instantclient and the 9i oracle=20 installation -- same result. Ionut ----- Original Message -----=20 From: "Firstworks/4access" <dav...@fi...> To: <sql...@li...> Sent: Wednesday, September 14, 2005 10:41 PM Subject: Re: [Sqlrelay-discussion] 0.37 pre 2 [Old: memory corruption,apa= che=20 segfault] It looks like you might have an old version of SQL Relay installed on your system and the build process is including the sqlrclient.h header file from the old version when trying to build the command line tools. Try removing the old SQL Relay and Rudiments installations before building the new ones. Dave dav...@fi... On Wed, 2005-09-14 at 22:25 +0300, Ionut Ciocirlan wrote: > Another issue: it builds the mysql stuff, although configured > with --disable-mysql (and the configure summary says "MySQL no") > > ----- Original Message -----=20 > From: "Ionut Ciocirlan" <ion...@av...> > To: <sql...@li...> > Sent: Wednesday, September 14, 2005 10:07 PM > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault > > > Make fails for sqlrelay... (i think it's quite at the end..) > > make -C cmdline all > make[2]: Entering directory `/usr/local/src/sqlrelay/src/cmdline' > /bin/sh ../../libtool --mode=3Dcompile >=20 > -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sqlre= lay.conf\" > -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../= -I../../src/common > -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/i= nclude > -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.lo > mkdir .libs > g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sq= lrelay.conf\" > -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../= -I../../src/common > -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/i= nclude > -I/usr/kerberos/include -I/usr/include/pcre -c query.C -fPIC -DPIC -o > .libs/query.o > g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sq= lrelay.conf\" > -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../= -I../../src/common > -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/i= nclude > -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.o > >/dev/null 2>&1 > /bin/sh ../../libtool --mode=3Dlink g++ -Wall -pipe -o query > query.lo -L../../src/util -lsqlrutil -L../../src/api/c++/src -lsqlrclie= nt =20 > -L/usr/local/firstworks/lib > -lrudiments -lpthread -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5= -lkrb5 > -lcom_err -lk5crypto -lresolv -ldl -lz -L/usr/lib -lpcre -lrt -lrt -lc= rypt > -ldl > g++ -Wall -pipe -o .libs/query > libs/query.o -L/usr/local/src/sqlrelay/src/util > /usr/local/src/sqlrelay/src/util/.libs/libsqlrutil.so -L/usr/local/firs= tworks/lib > -L/usr/kerberos/lib -L/usr/lib -L/usr/local/src/sqlrelay/src/api/c++/s= rc > /usr/local/firstworks/lib/libsqlrclient.so > /usr/local/firstworks/lib/librudiments.so -lpthread -lssl -lcrypto -lgs= sapi_krb5 > -lkrb5 -lcom_err -lk5crypto -lresolv -lz -lpcre -lrt -lcrypt -ldl -Wl= ,--rpath > -Wl,/usr/local/firstworks/lib > .libs/query.o(.text+0x3ae): In function `main': > : undefined reference to `sqlrconnection::sqlrconnection(char const*, > unsigned short, char const*, char const*, char const*, int, int)' > .libs/query.o(.text+0x40a): In function `main': > : undefined reference to `sqlrcursor::setResultSetBufferSize(unsigned l= ong > long)' > .libs/query.o(.text+0x4b9): In function `main': > : undefined reference to `sqlrcursor::getField(unsigned long long,=20 > unsigned > int)' > collect2: ld returned 1 exit status > make[2]: *** [query] Error 1 > make[2]: Leaving directory `/usr/local/src/sqlrelay/src/cmdline' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/src/sqlrelay/src' > make: *** [all] Error 2 > > Ionut > > ----- Original Message -----=20 > From: "Firstworks/4access" <dav...@fi...> > To: <sql...@li...> > Sent: Wednesday, September 14, 2005 6:22 PM > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault > > > Try http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz and see what you > get. I didn't specifically fix the problem, but some of the changes I > made for handling non-ascii data may have fixed it. > > Dave > dav...@fi... > > On Wed, 2005-09-14 at 16:09 +0300, Ionut Ciocirlan wrote: > > Yes, still happening. > > > > Should i try CVS? > > > > Ionut > > > > ----- Original Message -----=20 > > From: "David Muse" <dav...@fi...> > > To: <sql...@li...> > > Sent: Wednesday, September 14, 2005 4:27 AM > > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault > > > > > > | Well, I said I'd look into this problem, then I misplaced the email > > | until today :/ > > | > > | Are you still having this problem? > > | > > | David Muse > > | dav...@fi... > > | > > | > > | On Fri, 2005-08-19 at 07:48 +0300, Ionut Ciocirlan wrote: > > | > Hi, > > | > > > | > Nasty problem I ran into: > > | > > > | > I'm running sqlrelay-0.36.4 compiled against oracle instant > > client-10.1.0.4, > > | > on fedora core 3, glibc-2.3.5; apache-2.0.53 / php-4.3.11. > > | > > > | > Trying to fetch text containing several utf-8 characters (namely > > diacritics) > > | > from clobs sometimes crashes apache, with glibc memory errors. > > | > > > | > NLS_LANG is .AL32UTF8 for both Oracle and SQL Relay; data posted=20 > > into > > Apache > > | > is in UTF-8. > > | > > > | > Apache crashes with various messages: > > | > > > | > *** glibc detected *** malloc(): memory corruption: 0x094d6f20 **= * > > | > [notice] child pid 4005 exit signal Aborted (6) > > | > > > | > *** glibc detected *** free(): invalid next size (fast): 0x0a174a= 80 > > *** > > | > [notice] child pid 15277 exit signal Aborted (6) > > | > > > | > *** glibc detected *** double free or corruption (!prev): 0x094d0= ee0 > > *** > > | > [notice] child pid 4004 exit signal Aborted (6) > > | > > > | > *** glibc detected *** double free or corruption (out): 0x0948c59= 8=20 > > *** > > | > [notice] child pid 4062 exit signal Aborted (6) > > | > [notice] child pid 4009 exit signal Segmentation fault (11) > > | > > > | > The most common error is the first (memory corruption). On almost= =20 > > all > > | > occasions, the client browser gets a zero-sized reply. I'd say it= 's > > random, > > | > but on fast reruns it happens ~ 5 out of 6 times. Sometimes (rare= ly)=20 > > i > > get > > | > no crash, but apache hangs without replying, and the browser hang= s > > waiting > > | > for an answer. > > | > > > | > Reproduce this by inserting characters 'z =C4=83=C3=AE=C5=9F=C5=A3= =C3=A2 y =C4=82=C3=8E=C5=9E=C5=A2=C3=82 x' in a clob > > column. > > | > If it doesn't reproduce add this strign several more times and mi= x=20 > > it > > with > > | > various other text. > > | > > > | > So, this happens only on clob columns (never on char/varchar): > > | > > > | > Fetching (illegally?) in non-lob mode crashes at sqlrcur_sendQuer= y: > > | > > > | > $query =3D 'select column from table where id =3D xx'; > > | > sqlrcur_sendQuery($cur,$query); > > | > ---- crash > > | > > > | > Clob fetching crashes at sqlrcur_executeQuery: > > | > > > | > $query =3D 'begin > > | > select column into :outvar from table where where id =3D xx; > > | > end;' > > | > sqlrcur_prepareQuery($cur, $query); > > | > sqlrcur_defineOutputBindClob($cur, 'outvar'); > > | > sqlrcur_executeQuery($cur); > > | > ---- crash > > | > > > | > > > | > The memory corruption issues seem to be pretty real: it reflects > > mainly > > in a > > | > flash communication server running on the same machine, that afte= r > > several > > | > such events starts behaving erratically. Sshd and samba get errat= ic > > too > > | > (connections lost etc.). Also, after several hours of > > testing/debugging, > > my > > | > kernel Oopsed. And just now network connectivity went into oblivi= on. > > The > > | > only solution to restoring normal operation seems to be rebooting= . > > | > > > | > Conclusions so far: > > | > - not a machine problem; memtested the hell out of the ram; > > | > - not an oracle/oci/glibc problem; i recompiled php's oci8 extens= ion > > against > > | > the same oracle instant client libs, and i get the expected outpu= t, > > plus > > no > > | > crashes; > > | > - i also recompiled sqlrelay against the 9.1 oracle installation;= =20 > > same > > | > results; > > | > - might be a problem that appeared since 0.34 (we did some extens= ive > > testing > > | > back then, and it all worked out fine); i wanted to test now on 0= .34 > > too, > > | > but for some reason it now fails to compile right from the start > > | > > > | > I hope this will be easy to reproduce / repair..... > > | > > > | > Regards, > > | > Ionut > > | > > > | > > > | > > > | > ------------------------------------------------------- > > | > SF.Net email is Sponsored by the Better Software Conference & EXP= O > > | > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices > > | > Agile & Plan-Driven Development * Managing Projects & Teams *=20 > > Testing > > & > > QA > > | > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > | > _______________________________________________ > > | > Sqlrelay-discussion mailing list > > | > Sql...@li... > > | > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > | > > > | > > | > > | > > | ------------------------------------------------------- > > | SF.Net email is sponsored by: > > | Tame your development challenges with Apache's Geronimo App Server. > > Download > > | it for free - -and be entered to win a 42" plasma tv or your very o= wn > > | Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.p= hp > > | _______________________________________________ > > | Sqlrelay-discussion mailing list > > | Sql...@li... > > | https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.=20 > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.=20 > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.=20 > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Downl= oad it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Sqlrelay-discussion mailing list Sql...@li... https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion=20 |
|
From: Firstworks/4access <dav...@fi...> - 2005-09-14 19:53:07
|
I just updated http://sqlrelay.sourceforge.net/documentation.html with links to a TCL programming with sqlrelay guide and reference. I wrote the docs for the upcoming release, but hadn't yet put them on the web. While writing the docs, I found and fixed some bugs in the TCL module though, so if you run into any trouble, you might want to download and install the 0.37 prerelase from: http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz If you do, make sure to remove old versions of sqlrelay and rudiments from your system before building the new ones. David Muse dav...@fi... On Wed, 2005-09-14 at 11:48 -0700, Cesar Peregrina wrote: > Any body has a reference guide to TCL Programming with sqlrelay > > Thanks in advance. > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
|
From: Firstworks/4access <dav...@fi...> - 2005-09-14 19:41:01
|
It looks like you might have an old version of SQL Relay installed on your system and the build process is including the sqlrclient.h header file from the old version when trying to build the command line tools. Try removing the old SQL Relay and Rudiments installations before building the new ones. Dave dav...@fi... On Wed, 2005-09-14 at 22:25 +0300, Ionut Ciocirlan wrote: > Another issue: it builds the mysql stuff, although configured=20 > with --disable-mysql (and the configure summary says "MySQL no") >=20 > ----- Original Message -----=20 > From: "Ionut Ciocirlan" <ion...@av...> > To: <sql...@li...> > Sent: Wednesday, September 14, 2005 10:07 PM > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault >=20 >=20 > Make fails for sqlrelay... (i think it's quite at the end..) >=20 > make -C cmdline all > make[2]: Entering directory `/usr/local/src/sqlrelay/src/cmdline' > /bin/sh ../../libtool --mode=3Dcompile > + -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sql= relay.conf\" > -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../= -I../../src/common > -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/i= nclude > -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.lo > mkdir .libs > g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sq= lrelay.conf\" > -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../= -I../../src/common > -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/i= nclude > -I/usr/kerberos/include -I/usr/include/pcre -c query.C -fPIC -DPIC -o > .libs/query.o > g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sq= lrelay.conf\" > -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../= -I../../src/common > -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/i= nclude > -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.o > >/dev/null 2>&1 > /bin/sh ../../libtool --mode=3Dlink g++ -Wall -pipe -o query > query.lo -L../../src/util -lsqlrutil -L../../src/api/c++/src -lsqlrclie= nt -L/usr/local/firstworks/lib > -lrudiments -lpthread -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5= -lkrb5 > -lcom_err -lk5crypto -lresolv -ldl -lz -L/usr/lib -lpcre -lrt -lrt -lc= rypt > -ldl > g++ -Wall -pipe -o .libs/query > libs/query.o -L/usr/local/src/sqlrelay/src/util > /usr/local/src/sqlrelay/src/util/.libs/libsqlrutil.so -L/usr/local/firs= tworks/lib > -L/usr/kerberos/lib -L/usr/lib -L/usr/local/src/sqlrelay/src/api/c++/s= rc > /usr/local/firstworks/lib/libsqlrclient.so > /usr/local/firstworks/lib/librudiments.so -lpthread -lssl -lcrypto -lgs= sapi_krb5 > -lkrb5 -lcom_err -lk5crypto -lresolv -lz -lpcre -lrt -lcrypt -ldl -Wl= ,--rpath > -Wl,/usr/local/firstworks/lib > .libs/query.o(.text+0x3ae): In function `main': > : undefined reference to `sqlrconnection::sqlrconnection(char const*, > unsigned short, char const*, char const*, char const*, int, int)' > .libs/query.o(.text+0x40a): In function `main': > : undefined reference to `sqlrcursor::setResultSetBufferSize(unsigned l= ong > long)' > .libs/query.o(.text+0x4b9): In function `main': > : undefined reference to `sqlrcursor::getField(unsigned long long, unsi= gned > int)' > collect2: ld returned 1 exit status > make[2]: *** [query] Error 1 > make[2]: Leaving directory `/usr/local/src/sqlrelay/src/cmdline' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/src/sqlrelay/src' > make: *** [all] Error 2 >=20 > Ionut >=20 > ----- Original Message -----=20 > From: "Firstworks/4access" <dav...@fi...> > To: <sql...@li...> > Sent: Wednesday, September 14, 2005 6:22 PM > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault >=20 >=20 > Try http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz and see what you > get. I didn't specifically fix the problem, but some of the changes I > made for handling non-ascii data may have fixed it. >=20 > Dave > dav...@fi... >=20 > On Wed, 2005-09-14 at 16:09 +0300, Ionut Ciocirlan wrote: > > Yes, still happening. > > > > Should i try CVS? > > > > Ionut > > > > ----- Original Message -----=20 > > From: "David Muse" <dav...@fi...> > > To: <sql...@li...> > > Sent: Wednesday, September 14, 2005 4:27 AM > > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault > > > > > > | Well, I said I'd look into this problem, then I misplaced the email > > | until today :/ > > | > > | Are you still having this problem? > > | > > | David Muse > > | dav...@fi... > > | > > | > > | On Fri, 2005-08-19 at 07:48 +0300, Ionut Ciocirlan wrote: > > | > Hi, > > | > > > | > Nasty problem I ran into: > > | > > > | > I'm running sqlrelay-0.36.4 compiled against oracle instant > > client-10.1.0.4, > > | > on fedora core 3, glibc-2.3.5; apache-2.0.53 / php-4.3.11. > > | > > > | > Trying to fetch text containing several utf-8 characters (namely > > diacritics) > > | > from clobs sometimes crashes apache, with glibc memory errors. > > | > > > | > NLS_LANG is .AL32UTF8 for both Oracle and SQL Relay; data posted = into > > Apache > > | > is in UTF-8. > > | > > > | > Apache crashes with various messages: > > | > > > | > *** glibc detected *** malloc(): memory corruption: 0x094d6f20 **= * > > | > [notice] child pid 4005 exit signal Aborted (6) > > | > > > | > *** glibc detected *** free(): invalid next size (fast): 0x0a174a= 80 > > *** > > | > [notice] child pid 15277 exit signal Aborted (6) > > | > > > | > *** glibc detected *** double free or corruption (!prev): 0x094d0= ee0 > > *** > > | > [notice] child pid 4004 exit signal Aborted (6) > > | > > > | > *** glibc detected *** double free or corruption (out): 0x0948c59= 8 *** > > | > [notice] child pid 4062 exit signal Aborted (6) > > | > [notice] child pid 4009 exit signal Segmentation fault (11) > > | > > > | > The most common error is the first (memory corruption). On almost= all > > | > occasions, the client browser gets a zero-sized reply. I'd say it= 's > > random, > > | > but on fast reruns it happens ~ 5 out of 6 times. Sometimes (rare= ly) i > > get > > | > no crash, but apache hangs without replying, and the browser hang= s > > waiting > > | > for an answer. > > | > > > | > Reproduce this by inserting characters 'z =C4=83=C3=AE=C5=9F=C5=A3= =C3=A2 y =C4=82=C3=8E=C5=9E=C5=A2=C3=82 x' in a clob > > column. > > | > If it doesn't reproduce add this strign several more times and mi= x it > > with > > | > various other text. > > | > > > | > So, this happens only on clob columns (never on char/varchar): > > | > > > | > Fetching (illegally?) in non-lob mode crashes at sqlrcur_sendQuer= y: > > | > > > | > $query =3D 'select column from table where id =3D xx'; > > | > sqlrcur_sendQuery($cur,$query); > > | > ---- crash > > | > > > | > Clob fetching crashes at sqlrcur_executeQuery: > > | > > > | > $query =3D 'begin > > | > select column into :outvar from table where where id =3D xx; > > | > end;' > > | > sqlrcur_prepareQuery($cur, $query); > > | > sqlrcur_defineOutputBindClob($cur, 'outvar'); > > | > sqlrcur_executeQuery($cur); > > | > ---- crash > > | > > > | > > > | > The memory corruption issues seem to be pretty real: it reflects > > mainly > > in a > > | > flash communication server running on the same machine, that afte= r > > several > > | > such events starts behaving erratically. Sshd and samba get errat= ic > > too > > | > (connections lost etc.). Also, after several hours of > > testing/debugging, > > my > > | > kernel Oopsed. And just now network connectivity went into oblivi= on. > > The > > | > only solution to restoring normal operation seems to be rebooting. > > | > > > | > Conclusions so far: > > | > - not a machine problem; memtested the hell out of the ram; > > | > - not an oracle/oci/glibc problem; i recompiled php's oci8 extens= ion > > against > > | > the same oracle instant client libs, and i get the expected outpu= t, > > plus > > no > > | > crashes; > > | > - i also recompiled sqlrelay against the 9.1 oracle installation;= same > > | > results; > > | > - might be a problem that appeared since 0.34 (we did some extens= ive > > testing > > | > back then, and it all worked out fine); i wanted to test now on 0= .34 > > too, > > | > but for some reason it now fails to compile right from the start > > | > > > | > I hope this will be easy to reproduce / repair..... > > | > > > | > Regards, > > | > Ionut > > | > > > | > > > | > > > | > ------------------------------------------------------- > > | > SF.Net email is Sponsored by the Better Software Conference & EXP= O > > | > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices > > | > Agile & Plan-Driven Development * Managing Projects & Teams * Tes= ting > > & > > QA > > | > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > | > _______________________________________________ > > | > Sqlrelay-discussion mailing list > > | > Sql...@li... > > | > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > | > > > | > > | > > | > > | ------------------------------------------------------- > > | SF.Net email is sponsored by: > > | Tame your development challenges with Apache's Geronimo App Server. > > Download > > | it for free - -and be entered to win a 42" plasma tv or your very o= wn > > | Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.p= hp > > | _______________________________________________ > > | Sqlrelay-discussion mailing list > > | Sql...@li... > > | https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Dow= nload > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Dow= nload > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Dow= nload > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >=20 |
|
From: Ionut C. <ion...@av...> - 2005-09-14 19:15:50
|
Another issue: it builds the mysql stuff, although configured=20 with --disable-mysql (and the configure summary says "MySQL no") ----- Original Message -----=20 From: "Ionut Ciocirlan" <ion...@av...> To: <sql...@li...> Sent: Wednesday, September 14, 2005 10:07 PM Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault Make fails for sqlrelay... (i think it's quite at the end..) make -C cmdline all make[2]: Entering directory `/usr/local/src/sqlrelay/src/cmdline' /bin/sh ../../libtool --mode=3Dcompile + -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sqlre= lay.conf\" -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../ -= I../../src/common -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/inc= lude -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.lo mkdir .libs g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sqlr= elay.conf\" -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../ -= I../../src/common -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/inc= lude -I/usr/kerberos/include -I/usr/include/pcre -c query.C -fPIC -DPIC -o .libs/query.o g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sqlr= elay.conf\" -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../ -= I../../src/common -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/inc= lude -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=3Dlink g++ -Wall -pipe -o query query.lo -L../../src/util -lsqlrutil -L../../src/api/c++/src -lsqlrclient= -L/usr/local/firstworks/lib -lrudiments -lpthread -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -= lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -L/usr/lib -lpcre -lrt -lrt -lcry= pt -ldl g++ -Wall -pipe -o .libs/query libs/query.o -L/usr/local/src/sqlrelay/src/util /usr/local/src/sqlrelay/src/util/.libs/libsqlrutil.so -L/usr/local/firstw= orks/lib -L/usr/kerberos/lib -L/usr/lib -L/usr/local/src/sqlrelay/src/api/c++/src /usr/local/firstworks/lib/libsqlrclient.so /usr/local/firstworks/lib/librudiments.so -lpthread -lssl -lcrypto -lgssa= pi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -lz -lpcre -lrt -lcrypt -ldl -Wl,-= -rpath -Wl,/usr/local/firstworks/lib .libs/query.o(.text+0x3ae): In function `main': : undefined reference to `sqlrconnection::sqlrconnection(char const*, unsigned short, char const*, char const*, char const*, int, int)' .libs/query.o(.text+0x40a): In function `main': : undefined reference to `sqlrcursor::setResultSetBufferSize(unsigned lon= g long)' .libs/query.o(.text+0x4b9): In function `main': : undefined reference to `sqlrcursor::getField(unsigned long long, unsign= ed int)' collect2: ld returned 1 exit status make[2]: *** [query] Error 1 make[2]: Leaving directory `/usr/local/src/sqlrelay/src/cmdline' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/sqlrelay/src' make: *** [all] Error 2 Ionut ----- Original Message -----=20 From: "Firstworks/4access" <dav...@fi...> To: <sql...@li...> Sent: Wednesday, September 14, 2005 6:22 PM Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault Try http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz and see what you get. I didn't specifically fix the problem, but some of the changes I made for handling non-ascii data may have fixed it. Dave dav...@fi... On Wed, 2005-09-14 at 16:09 +0300, Ionut Ciocirlan wrote: > Yes, still happening. > > Should i try CVS? > > Ionut > > ----- Original Message -----=20 > From: "David Muse" <dav...@fi...> > To: <sql...@li...> > Sent: Wednesday, September 14, 2005 4:27 AM > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault > > > | Well, I said I'd look into this problem, then I misplaced the email > | until today :/ > | > | Are you still having this problem? > | > | David Muse > | dav...@fi... > | > | > | On Fri, 2005-08-19 at 07:48 +0300, Ionut Ciocirlan wrote: > | > Hi, > | > > | > Nasty problem I ran into: > | > > | > I'm running sqlrelay-0.36.4 compiled against oracle instant > client-10.1.0.4, > | > on fedora core 3, glibc-2.3.5; apache-2.0.53 / php-4.3.11. > | > > | > Trying to fetch text containing several utf-8 characters (namely > diacritics) > | > from clobs sometimes crashes apache, with glibc memory errors. > | > > | > NLS_LANG is .AL32UTF8 for both Oracle and SQL Relay; data posted in= to > Apache > | > is in UTF-8. > | > > | > Apache crashes with various messages: > | > > | > *** glibc detected *** malloc(): memory corruption: 0x094d6f20 *** > | > [notice] child pid 4005 exit signal Aborted (6) > | > > | > *** glibc detected *** free(): invalid next size (fast): 0x0a174a80 > *** > | > [notice] child pid 15277 exit signal Aborted (6) > | > > | > *** glibc detected *** double free or corruption (!prev): 0x094d0ee= 0 > *** > | > [notice] child pid 4004 exit signal Aborted (6) > | > > | > *** glibc detected *** double free or corruption (out): 0x0948c598 = *** > | > [notice] child pid 4062 exit signal Aborted (6) > | > [notice] child pid 4009 exit signal Segmentation fault (11) > | > > | > The most common error is the first (memory corruption). On almost a= ll > | > occasions, the client browser gets a zero-sized reply. I'd say it's > random, > | > but on fast reruns it happens ~ 5 out of 6 times. Sometimes (rarely= ) i > get > | > no crash, but apache hangs without replying, and the browser hangs > waiting > | > for an answer. > | > > | > Reproduce this by inserting characters 'z =C4=83=C3=AE=C5=9F=C5=A3=C3= =A2 y =C4=82=C3=8E=C5=9E=C5=A2=C3=82 x' in a clob > column. > | > If it doesn't reproduce add this strign several more times and mix = it > with > | > various other text. > | > > | > So, this happens only on clob columns (never on char/varchar): > | > > | > Fetching (illegally?) in non-lob mode crashes at sqlrcur_sendQuery: > | > > | > $query =3D 'select column from table where id =3D xx'; > | > sqlrcur_sendQuery($cur,$query); > | > ---- crash > | > > | > Clob fetching crashes at sqlrcur_executeQuery: > | > > | > $query =3D 'begin > | > select column into :outvar from table where where id =3D xx; > | > end;' > | > sqlrcur_prepareQuery($cur, $query); > | > sqlrcur_defineOutputBindClob($cur, 'outvar'); > | > sqlrcur_executeQuery($cur); > | > ---- crash > | > > | > > | > The memory corruption issues seem to be pretty real: it reflects > mainly > in a > | > flash communication server running on the same machine, that after > several > | > such events starts behaving erratically. Sshd and samba get erratic > too > | > (connections lost etc.). Also, after several hours of > testing/debugging, > my > | > kernel Oopsed. And just now network connectivity went into oblivion= . > The > | > only solution to restoring normal operation seems to be rebooting. > | > > | > Conclusions so far: > | > - not a machine problem; memtested the hell out of the ram; > | > - not an oracle/oci/glibc problem; i recompiled php's oci8 extensio= n > against > | > the same oracle instant client libs, and i get the expected output, > plus > no > | > crashes; > | > - i also recompiled sqlrelay against the 9.1 oracle installation; s= ame > | > results; > | > - might be a problem that appeared since 0.34 (we did some extensiv= e > testing > | > back then, and it all worked out fine); i wanted to test now on 0.3= 4 > too, > | > but for some reason it now fails to compile right from the start > | > > | > I hope this will be easy to reproduce / repair..... > | > > | > Regards, > | > Ionut > | > > | > > | > > | > ------------------------------------------------------- > | > SF.Net email is Sponsored by the Better Software Conference & EXPO > | > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > | > Agile & Plan-Driven Development * Managing Projects & Teams * Testi= ng > & > QA > | > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > | > _______________________________________________ > | > Sqlrelay-discussion mailing list > | > Sql...@li... > | > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > | > > | > | > | > | ------------------------------------------------------- > | SF.Net email is sponsored by: > | Tame your development challenges with Apache's Geronimo App Server. > Download > | it for free - -and be entered to win a 42" plasma tv or your very own > | Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > | _______________________________________________ > | Sqlrelay-discussion mailing list > | Sql...@li... > | https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Downl= oad it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Sqlrelay-discussion mailing list Sql...@li... https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Downl= oad it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Sqlrelay-discussion mailing list Sql...@li... https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion=20 |
|
From: Maciej W. <mac...@co...> - 2005-09-14 19:08:09
|
> Make fails for sqlrelay... (i think it's quite at the end..) I had problems with compilation of 0.37 pre 2 too... Something is wrong with this... -- Maciej Wisniowski |
|
From: Ionut C. <ion...@av...> - 2005-09-14 18:57:55
|
Make fails for sqlrelay... (i think it's quite at the end..) make -C cmdline all make[2]: Entering directory `/usr/local/src/sqlrelay/src/cmdline' /bin/sh ../../libtool --mode=3Dcompile=20 + -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sqlre= lay.conf\"=20 -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../ -= I../../src/common=20 -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/inc= lude=20 -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.lo mkdir .libs g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sqlr= elay.conf\"=20 -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../ -= I../../src/common=20 -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/inc= lude=20 -I/usr/kerberos/include -I/usr/include/pcre -c query.C -fPIC -DPIC -o=20 .libs/query.o g++ -Wall -pipe -DDEFAULT_CONFIG_FILE=3D\"/usr/local/firstworks/etc/sqlr= elay.conf\"=20 -DSYSTEM_SQLRSHRC=3D\"/usr/local/firstworks/etc/sqlrsh\" -I./ -I../../ -= I../../src/common=20 -I../../src/util -I../../src/api/c++/include -I/usr/local/firstworks/inc= lude=20 -I/usr/kerberos/include -I/usr/include/pcre -c query.C -o query.o=20 >/dev/null 2>&1 /bin/sh ../../libtool --mode=3Dlink g++ -Wall -pipe -o query=20 query.lo -L../../src/util -lsqlrutil -L../../src/api/c++/src -lsqlrclient= -L/usr/local/firstworks/lib=20 -lrudiments -lpthread -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -= lkrb5=20 -lcom_err -lk5crypto -lresolv -ldl -lz -L/usr/lib -lpcre -lrt -lrt -lcry= pt =20 -ldl g++ -Wall -pipe -o .libs/query=20 libs/query.o -L/usr/local/src/sqlrelay/src/util=20 /usr/local/src/sqlrelay/src/util/.libs/libsqlrutil.so -L/usr/local/firstw= orks/lib=20 -L/usr/kerberos/lib -L/usr/lib -L/usr/local/src/sqlrelay/src/api/c++/src= =20 /usr/local/firstworks/lib/libsqlrclient.so=20 /usr/local/firstworks/lib/librudiments.so -lpthread -lssl -lcrypto -lgssa= pi_krb5=20 -lkrb5 -lcom_err -lk5crypto -lresolv -lz -lpcre -lrt -lcrypt -ldl -Wl,-= -rpath=20 -Wl,/usr/local/firstworks/lib .libs/query.o(.text+0x3ae): In function `main': : undefined reference to `sqlrconnection::sqlrconnection(char const*,=20 unsigned short, char const*, char const*, char const*, int, int)' .libs/query.o(.text+0x40a): In function `main': : undefined reference to `sqlrcursor::setResultSetBufferSize(unsigned lon= g=20 long)' .libs/query.o(.text+0x4b9): In function `main': : undefined reference to `sqlrcursor::getField(unsigned long long, unsign= ed=20 int)' collect2: ld returned 1 exit status make[2]: *** [query] Error 1 make[2]: Leaving directory `/usr/local/src/sqlrelay/src/cmdline' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/sqlrelay/src' make: *** [all] Error 2 Ionut ----- Original Message -----=20 From: "Firstworks/4access" <dav...@fi...> To: <sql...@li...> Sent: Wednesday, September 14, 2005 6:22 PM Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault Try http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz and see what you get. I didn't specifically fix the problem, but some of the changes I made for handling non-ascii data may have fixed it. Dave dav...@fi... On Wed, 2005-09-14 at 16:09 +0300, Ionut Ciocirlan wrote: > Yes, still happening. > > Should i try CVS? > > Ionut > > ----- Original Message -----=20 > From: "David Muse" <dav...@fi...> > To: <sql...@li...> > Sent: Wednesday, September 14, 2005 4:27 AM > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault > > > | Well, I said I'd look into this problem, then I misplaced the email > | until today :/ > | > | Are you still having this problem? > | > | David Muse > | dav...@fi... > | > | > | On Fri, 2005-08-19 at 07:48 +0300, Ionut Ciocirlan wrote: > | > Hi, > | > > | > Nasty problem I ran into: > | > > | > I'm running sqlrelay-0.36.4 compiled against oracle instant > client-10.1.0.4, > | > on fedora core 3, glibc-2.3.5; apache-2.0.53 / php-4.3.11. > | > > | > Trying to fetch text containing several utf-8 characters (namely > diacritics) > | > from clobs sometimes crashes apache, with glibc memory errors. > | > > | > NLS_LANG is .AL32UTF8 for both Oracle and SQL Relay; data posted in= to > Apache > | > is in UTF-8. > | > > | > Apache crashes with various messages: > | > > | > *** glibc detected *** malloc(): memory corruption: 0x094d6f20 *** > | > [notice] child pid 4005 exit signal Aborted (6) > | > > | > *** glibc detected *** free(): invalid next size (fast): 0x0a174a80= =20 > *** > | > [notice] child pid 15277 exit signal Aborted (6) > | > > | > *** glibc detected *** double free or corruption (!prev): 0x094d0ee= 0=20 > *** > | > [notice] child pid 4004 exit signal Aborted (6) > | > > | > *** glibc detected *** double free or corruption (out): 0x0948c598 = *** > | > [notice] child pid 4062 exit signal Aborted (6) > | > [notice] child pid 4009 exit signal Segmentation fault (11) > | > > | > The most common error is the first (memory corruption). On almost a= ll > | > occasions, the client browser gets a zero-sized reply. I'd say it's > random, > | > but on fast reruns it happens ~ 5 out of 6 times. Sometimes (rarely= ) i > get > | > no crash, but apache hangs without replying, and the browser hangs > waiting > | > for an answer. > | > > | > Reproduce this by inserting characters 'z =C4=83=C3=AE=C5=9F=C5=A3=C3= =A2 y =C4=82=C3=8E=C5=9E=C5=A2=C3=82 x' in a clob > column. > | > If it doesn't reproduce add this strign several more times and mix = it > with > | > various other text. > | > > | > So, this happens only on clob columns (never on char/varchar): > | > > | > Fetching (illegally?) in non-lob mode crashes at sqlrcur_sendQuery: > | > > | > $query =3D 'select column from table where id =3D xx'; > | > sqlrcur_sendQuery($cur,$query); > | > ---- crash > | > > | > Clob fetching crashes at sqlrcur_executeQuery: > | > > | > $query =3D 'begin > | > select column into :outvar from table where where id =3D xx; > | > end;' > | > sqlrcur_prepareQuery($cur, $query); > | > sqlrcur_defineOutputBindClob($cur, 'outvar'); > | > sqlrcur_executeQuery($cur); > | > ---- crash > | > > | > > | > The memory corruption issues seem to be pretty real: it reflects=20 > mainly > in a > | > flash communication server running on the same machine, that after > several > | > such events starts behaving erratically. Sshd and samba get erratic= =20 > too > | > (connections lost etc.). Also, after several hours of=20 > testing/debugging, > my > | > kernel Oopsed. And just now network connectivity went into oblivion= .=20 > The > | > only solution to restoring normal operation seems to be rebooting. > | > > | > Conclusions so far: > | > - not a machine problem; memtested the hell out of the ram; > | > - not an oracle/oci/glibc problem; i recompiled php's oci8 extensio= n > against > | > the same oracle instant client libs, and i get the expected output,= =20 > plus > no > | > crashes; > | > - i also recompiled sqlrelay against the 9.1 oracle installation; s= ame > | > results; > | > - might be a problem that appeared since 0.34 (we did some extensiv= e > testing > | > back then, and it all worked out fine); i wanted to test now on 0.3= 4 > too, > | > but for some reason it now fails to compile right from the start > | > > | > I hope this will be easy to reproduce / repair..... > | > > | > Regards, > | > Ionut > | > > | > > | > > | > ------------------------------------------------------- > | > SF.Net email is Sponsored by the Better Software Conference & EXPO > | > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > | > Agile & Plan-Driven Development * Managing Projects & Teams * Testi= ng=20 > & > QA > | > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > | > _______________________________________________ > | > Sqlrelay-discussion mailing list > | > Sql...@li... > | > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > | > > | > | > | > | ------------------------------------------------------- > | SF.Net email is sponsored by: > | Tame your development challenges with Apache's Geronimo App Server. > Download > | it for free - -and be entered to win a 42" plasma tv or your very own > | Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > | _______________________________________________ > | Sqlrelay-discussion mailing list > | Sql...@li... > | https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server.=20 > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Downl= oad it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Sqlrelay-discussion mailing list Sql...@li... https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion=20 |
|
From: Cesar P. <cpe...@bt...> - 2005-09-14 18:46:17
|
Any body has a reference guide to TCL Programming with sqlrelay Thanks in advance. |
|
From: Matt F. <ma...@eq...> - 2005-09-14 16:38:01
|
Does sqlrelay support the OCI Collection object as with PHP's oci_new_collection() function? Thanks. |
|
From: Adam K. <ka...@li...> - 2005-09-14 16:26:56
|
Hi all, I have attempted to install sqlrelay-0.36.4 on a fedora core 3 machine but have received errors regarding mysql, as if it is not finding mysql on the machine (even when I specify the mysql prefix path in the configure options.. any suggestions would be appreciated. thanks. here are the errors I am receving: configure command output for mysql: ***** MySQL ****************** checking for mysql_real_connect... no checking for mysql_select_db... no checking for mysql_ping... no checking for mysql_change_user... no checking for mysql_commit... no checking for mysql_rollback... no checking for mysql_autocommit... no checking for mysql_prepare... no checking for CR_SERVER_GONE_ERROR... no checking for CR_SERVER_LOST... no checking for FIELD_TYPE_YEAR... no checking for FIELD_TYPE_NEWDATE... no checking for FIELD_TYPE_ENUM... no checking for FIELD_TYPE_SET... no mysql includes... -I/usr/include -mcpu=pentiumpro mysql libs... -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv ****************************** Make command errors: (cd .libs && rm -f libsqlrconnection_debug.la && ln -s ../libsqlrconnection_debug.la libsqlrconnection_debug.la) make[2]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src/connection' make -C connections all make[2]: Entering directory `/usr/local/src/sqlrelay-0.36.4/src/connections' make -C mysql all make[3]: Entering directory `/usr/local/src/sqlrelay-0.36.4/src/connections/mysql' /bin/sh ../../../libtool --mode=compile g++ -Wall -pipe -I./ -I../../../ -I../../../src/common -I../../../src/util -I../../../src/connection -I/usr/local/firstworks/include -I/usr/kerberos/include -I/usr/include/pcre -I/usr/include -mcpu=pentiumpro -c mysqlconnection.C -o mysqlconnection.lo mkdir .libs g++ -Wall -pipe -I./ -I../../../ -I../../../src/common -I../../../src/util -I../../../src/connection -I/usr/local/firstworks/include -I/usr/kerberos/include -I/usr/include/pcre -I/usr/include -mcpu=pentiumpro -c mysqlconnection.C -fPIC -DPIC -o .libs/mysqlconnection.o In file included from mysqlconnection.C:5: ./mysqlconnection.h:11:19: mysql.h: No such file or directory In file included from mysqlconnection.C:5: ./mysqlconnection.h:32: error: ISO C++ forbids declaration of `MYSQL_RES' with no type ./mysqlconnection.h:32: error: expected `;' before '*' token ./mysqlconnection.h:33: error: ISO C++ forbids declaration of `MYSQL_FIELD' with no type ./mysqlconnection.h:33: error: expected `;' before '*' token ./mysqlconnection.h:34: error: `MYSQL_ROW' does not name a type ./mysqlconnection.h:68: error: `MYSQL' does not name a type mysqlconnection.C: In member function `virtual bool mysqlconnection::logIn()': mysqlconnection.C:73: error: `mysql' undeclared (first use this function) mysqlconnection.C:73: error: (Each undeclared identifier is reported only once for each function it appears in.) mysqlconnection.C:73: error: `mysql_connect' undeclared (first use this function) mysqlconnection.C:75: error: `mysql_error' undeclared (first use this function) mysqlconnection.C:49: warning: unused variable 'dbval' mysqlconnection.C: In member function `virtual void mysqlconnection::logOut()': mysqlconnection.C:110: error: `mysql' undeclared (first use this function) mysqlconnection.C:110: error: `mysql_close' undeclared (first use this function) mysqlconnection.C: In constructor `mysqlcursor::mysqlcursor(sqlrconnection*)': mysqlconnection.C:165: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C: In member function `virtual bool mysqlcursor::executeQuery(const char*, long int, bool)': mysqlconnection.C:175: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C:182: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:184: error: `mysql_real_query' undeclared (first use this function) mysqlconnection.C:190: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:199: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:199: error: `mysql_affected_rows' undeclared (first use this function) mysqlconnection.C:202: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:202: error: `mysql_store_result' undeclared (first use this function) mysqlconnection.C:203: error: `MYSQL_RES' undeclared (first use this function) mysqlconnection.C:203: error: expected primary-expression before ')' token mysqlconnection.C:203: error: expected `)' before "" mysqlconnection.C:207: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:207: error: `mysql_error' undeclared (first use this function) mysqlconnection.C:216: error: `mysql_num_fields' undeclared (first use this function) mysqlconnection.C:219: error: `mysql_num_rows' undeclared (first use this function) mysqlconnection.C: In member function `virtual const char* mysqlcursor::getErrorMessage(bool*)': mysqlconnection.C:227: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:227: error: `mysql_error' undeclared (first use this function) mysqlconnection.C: In member function `virtual void mysqlcursor::returnColumnInfo()': mysqlconnection.C:268: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C:277: error: `mysql_field_seek' undeclared (first use this function) mysqlconnection.C:283: error: `mysqlfield' undeclared (first use this function) mysqlconnection.C:283: error: `mysql_fetch_field' undeclared (first use this function) mysqlconnection.C:286: error: `FIELD_TYPE_STRING' undeclared (first use this function) mysqlconnection.C:289: error: `FIELD_TYPE_VAR_STRING' undeclared (first use this function) mysqlconnection.C:292: error: `FIELD_TYPE_DECIMAL' undeclared (first use this function) mysqlconnection.C:302: error: `FIELD_TYPE_TINY' undeclared (first use this function) mysqlconnection.C:305: error: `FIELD_TYPE_SHORT' undeclared (first use this function) mysqlconnection.C:308: error: `FIELD_TYPE_LONG' undeclared (first use this function) mysqlconnection.C:311: error: `FIELD_TYPE_FLOAT' undeclared (first use this function) mysqlconnection.C:318: error: `FIELD_TYPE_DOUBLE' undeclared (first use this function) mysqlconnection.C:321: error: `FIELD_TYPE_LONGLONG' undeclared (first use this function) mysqlconnection.C:324: error: `FIELD_TYPE_INT24' undeclared (first use this function) mysqlconnection.C:327: error: `FIELD_TYPE_TIMESTAMP' undeclared (first use this function) mysqlconnection.C:330: error: `FIELD_TYPE_DATE' undeclared (first use this function) mysqlconnection.C:333: error: `FIELD_TYPE_TIME' undeclared (first use this function) mysqlconnection.C:336: error: `FIELD_TYPE_DATETIME' undeclared (first use this function) mysqlconnection.C:349: error: `FIELD_TYPE_NULL' undeclared (first use this function) mysqlconnection.C:375: error: `FIELD_TYPE_TINY_BLOB' undeclared (first use this function) mysqlconnection.C:378: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared (first use this function) mysqlconnection.C:381: error: `FIELD_TYPE_LONG_BLOB' undeclared (first use this function) mysqlconnection.C:384: error: `FIELD_TYPE_BLOB' undeclared (first use this function) mysqlconnection.C:404: error: `IS_NOT_NULL' undeclared (first use this function) mysqlconnection.C:405: error: `IS_PRI_KEY' undeclared (first use this function) mysqlconnection.C:406: error: `UNIQUE_KEY_FLAG' undeclared (first use this function) mysqlconnection.C:407: error: `MULTIPLE_KEY_FLAG' undeclared (first use this function) mysqlconnection.C:408: error: `UNSIGNED_FLAG' undeclared (first use this function) mysqlconnection.C:409: error: `ZEROFILL_FLAG' undeclared (first use this function) mysqlconnection.C: In member function `virtual bool mysqlcursor::noRowsToReturn()': mysqlconnection.C:426: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C: In member function `virtual bool mysqlcursor::fetchRow()': mysqlconnection.C:434: error: `mysqlrow' undeclared (first use this function) mysqlconnection.C:434: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C:434: error: `mysql_fetch_row' undeclared (first use this function) mysqlconnection.C: In member function `virtual void mysqlcursor::returnRow()': mysqlconnection.C:441: error: `mysqlrow' undeclared (first use this function) mysqlconnection.C: In member function `virtual void mysqlcursor::cleanUpData(bool, bool)': mysqlconnection.C:451: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C:451: error: `MYSQL_RES' undeclared (first use this function) mysqlconnection.C:451: error: expected primary-expression before ')' token mysqlconnection.C:451: error: expected `)' before "" mysqlconnection.C:452: error: `mysql_free_result' undeclared (first use this function) make[3]: *** [mysqlconnection.lo] Error 1 make[3]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src/connections/mysql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src/connections' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src' make: *** [all] Error 2 |
|
From: Firstworks/4access <dav...@fi...> - 2005-09-14 15:21:58
|
Try http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz and see what you get. I didn't specifically fix the problem, but some of the changes I made for handling non-ascii data may have fixed it. Dave dav...@fi... On Wed, 2005-09-14 at 16:09 +0300, Ionut Ciocirlan wrote: > Yes, still happening. >=20 > Should i try CVS? >=20 > Ionut >=20 > ----- Original Message -----=20 > From: "David Muse" <dav...@fi...> > To: <sql...@li...> > Sent: Wednesday, September 14, 2005 4:27 AM > Subject: Re: [Sqlrelay-discussion] memory corruption, apache segfault >=20 >=20 > | Well, I said I'd look into this problem, then I misplaced the email > | until today :/ > | > | Are you still having this problem? > | > | David Muse > | dav...@fi... > | > | > | On Fri, 2005-08-19 at 07:48 +0300, Ionut Ciocirlan wrote: > | > Hi, > | > > | > Nasty problem I ran into: > | > > | > I'm running sqlrelay-0.36.4 compiled against oracle instant=20 > client-10.1.0.4, > | > on fedora core 3, glibc-2.3.5; apache-2.0.53 / php-4.3.11. > | > > | > Trying to fetch text containing several utf-8 characters (namely=20 > diacritics) > | > from clobs sometimes crashes apache, with glibc memory errors. > | > > | > NLS_LANG is .AL32UTF8 for both Oracle and SQL Relay; data posted in= to=20 > Apache > | > is in UTF-8. > | > > | > Apache crashes with various messages: > | > > | > *** glibc detected *** malloc(): memory corruption: 0x094d6f20 *** > | > [notice] child pid 4005 exit signal Aborted (6) > | > > | > *** glibc detected *** free(): invalid next size (fast): 0x0a174a80= *** > | > [notice] child pid 15277 exit signal Aborted (6) > | > > | > *** glibc detected *** double free or corruption (!prev): 0x094d0ee= 0 *** > | > [notice] child pid 4004 exit signal Aborted (6) > | > > | > *** glibc detected *** double free or corruption (out): 0x0948c598 = *** > | > [notice] child pid 4062 exit signal Aborted (6) > | > [notice] child pid 4009 exit signal Segmentation fault (11) > | > > | > The most common error is the first (memory corruption). On almost a= ll > | > occasions, the client browser gets a zero-sized reply. I'd say it's= =20 > random, > | > but on fast reruns it happens ~ 5 out of 6 times. Sometimes (rarely= ) i=20 > get > | > no crash, but apache hangs without replying, and the browser hangs=20 > waiting > | > for an answer. > | > > | > Reproduce this by inserting characters 'z =C4=83=C3=AE=C5=9F=C5=A3=C3= =A2 y =C4=82=C3=8E=C5=9E=C5=A2=C3=82 x' in a clob=20 > column. > | > If it doesn't reproduce add this strign several more times and mix = it=20 > with > | > various other text. > | > > | > So, this happens only on clob columns (never on char/varchar): > | > > | > Fetching (illegally?) in non-lob mode crashes at sqlrcur_sendQuery: > | > > | > $query =3D 'select column from table where id =3D xx'; > | > sqlrcur_sendQuery($cur,$query); > | > ---- crash > | > > | > Clob fetching crashes at sqlrcur_executeQuery: > | > > | > $query =3D 'begin > | > select column into :outvar from table where where id =3D xx; > | > end;' > | > sqlrcur_prepareQuery($cur, $query); > | > sqlrcur_defineOutputBindClob($cur, 'outvar'); > | > sqlrcur_executeQuery($cur); > | > ---- crash > | > > | > > | > The memory corruption issues seem to be pretty real: it reflects ma= inly=20 > in a > | > flash communication server running on the same machine, that after=20 > several > | > such events starts behaving erratically. Sshd and samba get erratic= too > | > (connections lost etc.). Also, after several hours of testing/debug= ging,=20 > my > | > kernel Oopsed. And just now network connectivity went into oblivion= . The > | > only solution to restoring normal operation seems to be rebooting. > | > > | > Conclusions so far: > | > - not a machine problem; memtested the hell out of the ram; > | > - not an oracle/oci/glibc problem; i recompiled php's oci8 extensio= n=20 > against > | > the same oracle instant client libs, and i get the expected output,= plus=20 > no > | > crashes; > | > - i also recompiled sqlrelay against the 9.1 oracle installation; s= ame > | > results; > | > - might be a problem that appeared since 0.34 (we did some extensiv= e=20 > testing > | > back then, and it all worked out fine); i wanted to test now on 0.3= 4=20 > too, > | > but for some reason it now fails to compile right from the start > | > > | > I hope this will be easy to reproduce / repair..... > | > > | > Regards, > | > Ionut > | > > | > > | > > | > ------------------------------------------------------- > | > SF.Net email is Sponsored by the Better Software Conference & EXPO > | > September 19-22, 2005 * San Francisco, CA * Development Lifecycle=20 > Practices > | > Agile & Plan-Driven Development * Managing Projects & Teams * Testi= ng &=20 > QA > | > Security * Process Improvement & Measurement *=20 > http://www.sqe.com/bsce5sf > | > _______________________________________________ > | > Sqlrelay-discussion mailing list > | > Sql...@li... > | > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > | > > | > | > | > | ------------------------------------------------------- > | SF.Net email is sponsored by: > | Tame your development challenges with Apache's Geronimo App Server.=20 > Download > | it for free - -and be entered to win a 42" plasma tv or your very own > | Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > | _______________________________________________ > | Sqlrelay-discussion mailing list > | Sql...@li... > | https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Dow= nload > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >=20 |