Re: Error installing perl module DBD::mysql

2005-10-26 Thread Ziaul Mannan
** Low Priority **

Thanks Kevin.
 
I id run : 'perl Makefile.PL' followed by the other steps you mentioned
below. When I cut and pasted it on the mail  I missed out the first
line.
 
I cannot finish this order. I get the error message after running
'make'. In other words:
'perl Makefile.PLmakeError

 Kevin Spencer [EMAIL PROTECTED] 10/25/05 4:38 PM 

On 10/25/05, Ziaul Mannan [EMAIL PROTECTED] wrote:
 ** Low Priority **

 Hello,

 I was able to install the following perl modules fine:
 DBI
 Data::Dumper
 Data::ShowTable
 DBI.pm

 Then,when I am try to install perl module called 'DBD::mysql' on AIX
 5.2(64-bit) and 5.3. In both cases I am getting following errors:

 dogwood:mysql:/home/mysql/DBD-mysql-3.0002 # perl make
 Can't open perl script make: A file or directory in the path name
 does not exi
 st.
 dogwood:mysql:/home/mysql/DBD-mysql-3.0002 # make

Typically, you would do the following to install Perl modules:

perl Makefile.PL
make
make test
make install

I noticed that you typed 'perl make' instead of 'perl Makefile.PL'.

--
Kevin.





This message originates from Yale New Haven Health System.  The information 
contained in this message may be privileged and confidential.  If you are the 
intended recipient, you must maintain this message in a secure and confidential 
manner.  If you are not the intended recipient, please notify the sender 
immediately and destroy this message.  Thank you.


Re: Error installing perl module DBD::mysql

2005-10-26 Thread Michael Stassen

Ziaul Mannan wrote:

Thanks Kevin.
 
I id run : 'perl Makefile.PL' followed by the other steps you mentioned

below. When I cut and pasted it on the mail  I missed out the first
line.
 
I cannot finish this order. I get the error message after running

'make'. In other words:
'perl Makefile.PLmakeError


Now you are saying that when you run `perl Makefile.PL`, everything works, but 
then when you subsequently run `make`, you get an error.  Our problem, as Kevin 
pointed out, is that the error message you included in your first post,


  dogwood:mysql:/home/mysql/DBD-mysql-3.0002 # perl make
  Can't open perl script make: A file or directory in the path name
  does not exist.

is the error from running `perl make`, which isn't part of the process, instead 
of `make`.  If you want help diagnosing an error you get when you run `make`, 
you need to show us that error message.


Michael

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Error installing perl module DBS::mysql

2005-10-25 Thread Ziaul Mannan
** Low Priority **

Hello,
 
I was able to install the following perl modules fine:
DBI
Data::Dumper
Data::ShowTable
DBI.pm 

Then,when I am try to install perl module called 'DBD::mysql' on AIX
5.2(64-bit) and 5.3. In both cases I am getting following errors: 
 
dogwood:mysql:/home/mysql/DBD-mysql-3.0002 # perl make  
Can't open perl script make: A file or directory in the path name
does not exi
st.
dogwood:mysql:/home/mysql/DBD-mysql-3.0002 # make   
cc_r -c 
-I/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI/
 -I/usr/local/mysql/include -q64 -ma -qstrict -qoptimize=2
-qmaxmem=8192 -DDBD_M
YSQL_INSERT_ID_IS_GOOD -g   -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmax
mem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FI
LES -qlonglong -O-DVERSION=\3.0002\  -DXS_VERSION=\3.0002\ 
-I/usr/opt/
perl5/lib/5.8.2/aix-thread-multi/CORE   dbdimp.c
cc_r -c 
-I/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI/
 -I/usr/local/mysql/include -q64 -ma -qstrict -qoptimize=2
-qmaxmem=8192 -DDBD_M
YSQL_INSERT_ID_IS_GOOD -g   -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmax
mem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FI
LES -qlonglong -O-DVERSION=\3.0002\  -DXS_VERSION=\3.0002\ 
-I/usr/opt/
perl5/lib/5.8.2/aix-thread-multi/CORE   mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH= /usr/bin/perl myld ld  -bhalt:4 -bM:SRE
-bI:/usr/opt/perl
5/lib/5.8.2/aix-thread-multi/CORE/perl.exp -bE:mysql.exp -bnoentry
-lpthreads -l
c_r dbdimp.o  mysql.o  -o blib/arch/auto/DBD/mysql/mysql.so  
-L/usr/local/mysql
/lib -lmysqlclient -lz -lcrypt -lnsl_r -lm   
ld: 0711-317 ERROR: Undefined symbol: .mysql_field_seek
ld: 0711-317 ERROR: Undefined symbol: .mysql_fetch_field
ld: 0711-317 ERROR: Undefined symbol: .mysql_fetch_fields
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_bind_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_errno
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_error
ld: 0711-317 ERROR: Undefined symbol: .mysql_real_escape_string
ld: 0711-317 ERROR: Undefined symbol: .mysql_errno
ld: 0711-317 ERROR: Undefined symbol: .mysql_error
ld: 0711-317 ERROR: Undefined symbol: .mysql_init
ld: 0711-317 ERROR: Undefined symbol: .mysql_options
ld: 0711-317 ERROR: Undefined symbol: .mysql_real_connect
ld: 0711-317 ERROR: Undefined symbol: .mysql_free_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_bind_param
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_execute
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_result_metadata
ld: 0711-317 ERROR: Undefined symbol: .mysql_num_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_store_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_num_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_list_fields
ld: 0711-317 ERROR: Undefined symbol: .mysql_real_query
ld: 0711-317 ERROR: Undefined symbol: .mysql_use_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_store_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_affected_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_close
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_fetch
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_affected_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_fetch_column
ld: 0711-317 ERROR: Undefined symbol: .mysql_fetch_row
ld: 0711-317 ERROR: Undefined symbol: .mysql_fetch_lengths
ld: 0711-317 ERROR: Undefined symbol: .mysql_insert_id
ld: 0711-317 ERROR: Undefined symbol: .mysql_num_fields
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_init
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_prepare
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_param_count
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_host_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_proto_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_server_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_stat
ld: 0711-317 ERROR: Undefined symbol: .mysql_thread_id
ld: 0711-317 ERROR: Undefined symbol: .mysql_autocommit
ld: 0711-317 ERROR: Undefined symbol: .mysql_close
ld: 0711-317 ERROR: Undefined symbol: .mysql_rollback
ld: 0711-317 ERROR: Undefined symbol: .mysql_commit
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_free_result
ld: 0711-317 ERROR: Undefined symbol: .is_prefix
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_parameters
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_data_seek
ld: 0711-317 ERROR: Undefined symbol: .mysql_data_seek
ld: 0711-317 ERROR: Undefined symbol: .mysql_ping
ld: 0711-317 ERROR: Undefined symbol: .mysql_list_dbs
ld: 0711-317 ERROR: Undefined symbol: .mysql_shutdown
ld: 0711-317 ERROR: Undefined symbol: .mysql_refresh
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 1.
Stop.
 
Any ideas why ?

Error installing perl module DBD::mysql

2005-10-25 Thread Ziaul Mannan
** Low Priority **

Hello,
 
I was able to install the following perl modules fine:
DBI
Data::Dumper
Data::ShowTable
DBI.pm 

Then,when I am try to install perl module called 'DBD::mysql' on AIX
5.2(64-bit) and 5.3. In both cases I am getting following errors: 
 
dogwood:mysql:/home/mysql/DBD-mysql-3.0002 # perl make  
Can't open perl script make: A file or directory in the path name
does not exi
st.
dogwood:mysql:/home/mysql/DBD-mysql-3.0002 # make   
cc_r -c 
-I/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI/
 -I/usr/local/mysql/include -q64 -ma -qstrict -qoptimize=2
-qmaxmem=8192 -DDBD_M
YSQL_INSERT_ID_IS_GOOD -g   -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmax
mem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FI
LES -qlonglong -O-DVERSION=\3.0002\  -DXS_VERSION=\3.0002\ 
-I/usr/opt/
perl5/lib/5.8.2/aix-thread-multi/CORE   dbdimp.c
cc_r -c 
-I/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/DBI/
 -I/usr/local/mysql/include -q64 -ma -qstrict -qoptimize=2
-qmaxmem=8192 -DDBD_M
YSQL_INSERT_ID_IS_GOOD -g   -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmax
mem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FI
LES -qlonglong -O-DVERSION=\3.0002\  -DXS_VERSION=\3.0002\ 
-I/usr/opt/
perl5/lib/5.8.2/aix-thread-multi/CORE   mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH= /usr/bin/perl myld ld  -bhalt:4 -bM:SRE
-bI:/usr/opt/perl
5/lib/5.8.2/aix-thread-multi/CORE/perl.exp -bE:mysql.exp -bnoentry
-lpthreads -l
c_r dbdimp.o  mysql.o  -o blib/arch/auto/DBD/mysql/mysql.so  
-L/usr/local/mysql
/lib -lmysqlclient -lz -lcrypt -lnsl_r -lm   
ld: 0711-317 ERROR: Undefined symbol: .mysql_field_seek
ld: 0711-317 ERROR: Undefined symbol: .mysql_fetch_field
ld: 0711-317 ERROR: Undefined symbol: .mysql_fetch_fields
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_bind_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_errno
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_error
ld: 0711-317 ERROR: Undefined symbol: .mysql_real_escape_string
ld: 0711-317 ERROR: Undefined symbol: .mysql_errno
ld: 0711-317 ERROR: Undefined symbol: .mysql_error
ld: 0711-317 ERROR: Undefined symbol: .mysql_init
ld: 0711-317 ERROR: Undefined symbol: .mysql_options
ld: 0711-317 ERROR: Undefined symbol: .mysql_real_connect
ld: 0711-317 ERROR: Undefined symbol: .mysql_free_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_bind_param
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_execute
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_result_metadata
ld: 0711-317 ERROR: Undefined symbol: .mysql_num_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_store_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_num_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_list_fields
ld: 0711-317 ERROR: Undefined symbol: .mysql_real_query
ld: 0711-317 ERROR: Undefined symbol: .mysql_use_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_store_result
ld: 0711-317 ERROR: Undefined symbol: .mysql_affected_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_close
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_fetch
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_affected_rows
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_fetch_column
ld: 0711-317 ERROR: Undefined symbol: .mysql_fetch_row
ld: 0711-317 ERROR: Undefined symbol: .mysql_fetch_lengths
ld: 0711-317 ERROR: Undefined symbol: .mysql_insert_id
ld: 0711-317 ERROR: Undefined symbol: .mysql_num_fields
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_init
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_prepare
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_param_count
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_host_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_proto_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_server_info
ld: 0711-317 ERROR: Undefined symbol: .mysql_stat
ld: 0711-317 ERROR: Undefined symbol: .mysql_thread_id
ld: 0711-317 ERROR: Undefined symbol: .mysql_autocommit
ld: 0711-317 ERROR: Undefined symbol: .mysql_close
ld: 0711-317 ERROR: Undefined symbol: .mysql_rollback
ld: 0711-317 ERROR: Undefined symbol: .mysql_commit
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_free_result
ld: 0711-317 ERROR: Undefined symbol: .is_prefix
ld: 0711-317 ERROR: Undefined symbol: .mysql_get_parameters
ld: 0711-317 ERROR: Undefined symbol: .mysql_stmt_data_seek
ld: 0711-317 ERROR: Undefined symbol: .mysql_data_seek
ld: 0711-317 ERROR: Undefined symbol: .mysql_ping
ld: 0711-317 ERROR: Undefined symbol: .mysql_list_dbs
ld: 0711-317 ERROR: Undefined symbol: .mysql_shutdown
ld: 0711-317 ERROR: Undefined symbol: .mysql_refresh
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 1.
Stop.
 
Any ideas why ?

Re: Error installing perl module DBD::mysql

2005-10-25 Thread Kevin Spencer
On 10/25/05, Ziaul Mannan [EMAIL PROTECTED] wrote:
 ** Low Priority **

 Hello,

 I was able to install the following perl modules fine:
 DBI
 Data::Dumper
 Data::ShowTable
 DBI.pm

 Then,when I am try to install perl module called 'DBD::mysql' on AIX
 5.2(64-bit) and 5.3. In both cases I am getting following errors:

 dogwood:mysql:/home/mysql/DBD-mysql-3.0002 # perl make
 Can't open perl script make: A file or directory in the path name
 does not exi
 st.
 dogwood:mysql:/home/mysql/DBD-mysql-3.0002 # make

Typically, you would do the following to install Perl modules:

perl Makefile.PL
make
make test
make install

I noticed that you typed 'perl make' instead of 'perl Makefile.PL'.

--
Kevin.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



error installing package

2004-06-24 Thread Tillmann Stoffel-Küppers
hi

i´m trying to run a local mysql version under w2000.
when calling winmysqladmin.exe file the following error message appears:
the dll libmysql.dll is not found.
what can i do ?

thx. for any help

till


arge web52 - 
webdesign, webhosting, online-datenbanken, pressebüro |
tillmann stoffel-küppers  
mariengartenstr. 47, 52428 jülich
fon: 024 61 - 93 83 44  
mobil: 0170 29 40 983 
fax: 024 61 -93 83 45
[EMAIL PROTECTED]   http://www.stoffel-kueppers.de
mitglied im deutschen presseverband  http://www.dpv.org
mitglied des teams / member of the Google Answers Researcher Team 
http://answers.google.com  
When you're searching for information, Google Answers.

Error installing MyODBC - Please help...

2004-02-19 Thread Morgan, Andrew R.
Hello all.  I'm trying to 'make' MyODBC, and I receive the following error:
 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/mysql/include/mysql -Iyes/include -O3 
-DDBUG_OFF -c utility.c -Wp,-MD,.deps/utility.TPlo  -fPIC -DPIC -o utility.lo
/bin/ksh ../libtool --mode=link gcc  -O3 -DDBUG_OFF -o libmyodbc3.la -rpath 
/usr/local/lib -release 3.51.06 catalog.lo connect.lo cursor.lo dll.lo error.lo 
execute.lo handle.lo info.lo misc.lo myodbc3.lo options.lo prepare.lo results.lo 
transact.lo utility.lo -L/usr/local/mysql/lib/mysql -lmysqlclient -Lyes/lib 
-L/usr/local/mysql/lib/mysql -lm -lnsl -lsocket -lodbcinst
../libtool[1296]: yes/lib:  not found
libtool: link: cannot determine absolute directory name of `yes/lib'
make[2]: *** [libmyodbc3.la] Error 1
make[2]: Leaving directory `/virtual/MyODBC-3.51.06/driver'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/virtual/MyODBC-3.51.06/driver'
make: *** [all-recursive] Error 1

does anyone know what this means or what I need to do to resolve this issue?
 
Thanks


error installing.

2002-09-23 Thread TonyDanna

This is the mysqlbug report:
##
SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `' and `').
SEND-PR:
From: root
To: [EMAIL PROTECTED]
Subject: [50 character or so descriptive subject here (for reference)]

Description:
precise description of the problem (multiple lines)
How-To-Repeat:
code/input/activities to reproduce the problem (multiple
lines)
Fix:
how to correct or work around the problem, if known (multiple
lines)

Submitter-Id:  submitter ID
Originator:root
Organization:
 organization of PR author (multiple lines)
MySQL support: [none | licence | email support | extended email support
]
Synopsis:  synopsis of the problem (one line)
Severity:  [ non-critical | serious | critical ] (one line)
Priority:  [ low | medium | high ] (one line)
Category:  mysql
Class: [ sw-bug | doc-bug | change-request | support ] (one
line)
Release:   mysql-3.23.51 (Source distribution)

Environment:
machine, os, target, libraries (multiple lines)
System: Linux DjinN 2.4.18-5 #1 Mon Jun 10 15:31:48 EDT 2002 i686
unknown
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 2731 (Red Hat Linux 7.3 2.96-110)
Compilation info: CC='gcc'  CFLAGS=''  CXX='g++'  CXXFLAGS='' 
LDFLAGS=''
LIBC:
lrwxrwxrwx1 root root   13 Jul 21 15:26 /lib/libc.so.6
- libc-2.2.5.so
-rwxr-xr-x1 root root  1260480 Apr 15 08:44
/lib/libc-2.2.5.so
-rw-r--r--1 root root  2310808 Apr 15 09:02 /usr/lib/libc.a
-rw-r--r--1 root root  178 Apr 15 08:55 /usr/lib/libc.so
Configure command: ./configure --prefix=/usr/local/mysql/

#
I am gathering more information. I am running a default RedHat 7.3
install. I have done everything that is shown on the documentation on
the site. I installed it with no flags, then with flags, and still... I
have GCC 2.96. Let me know if there is something that I am missing.
Thanks !

Tony Danna


~


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

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




Error installing mysql on Aix

2001-10-05 Thread Hamid Amjadi

I am getting the following errors when i am 
trying to install Mysql in my AIX ver 4.3.3.
please advise.
thanks

#!/bin/sh
# Create a bug report and mail it to the mysql mailing list
# Based on glibc bug reporting script.

echo Finding system information for a MySQL bug report

VERSION=3.23.42
COMPILATION_COMMENT=Official MySQL binary
BUGmysql=[EMAIL PROTECTED]
# This is set by configure
COMP_ENV_INFO=CC='gcc'  CFLAGS='-O3 -mcpu=powerpc -Wa,-many ' 
CXX='c++'  CXXFLAGS='-O3 -mcpu=powerpc -Wa,-many  -felide-constructors
-fno-exceptions -fno-rtti'  LDFLAGS=''
CONFIGURE_LINE=./configure  --prefix=/usr/local/mysql
'--with-comment=Official MySQL binary' --with-extra-charsets=complex
--with-server-suffix= --disable-shared

LIBC_INFO=
for pat in /lib/libc.* /lib/libc-* /usr/lib/libc.* /usr/lib/libc-*
do
TMP=`ls -l $pat 2/dev/null`
if test $? = 0
then
  LIBC_INFO=$LIBC_INFO
$TMP
fi
done

PATH=../client:$PATH:/bin:/usr/bin:/usr/local/bin
export PATH

BUGADDR=${1-$BUGmysql}
ENVIRONMENT=`uname -a`

: ${USER=${LOGNAME-`whoami`}}

COMMAND=`echo $0|sed 's%.*/\([^/]*\)%\1%'`

# Try to create a secure tmpfile
umask 077
TEMPDIR=/tmp/mysqlbug-$$
mkdir $TEMPDIR || (echo can not create directory in /tmp, aborting;
exit 1;)
TEMP=${TEMPDIR}/mysqlbug

trap 'rm -f $TEMP $TEMP.x; rmdir $TEMPDIR; exit 1' 1 2 3 13 15
trap 'rm -f $TEMP $TEMP.x; rmdir $TEMPDIR' 0

# How to read the passwd database.
PASSWD=cat /etc/passwd

if test -f /usr/lib/sendmail
then
  MAIL_AGENT=/usr/lib/sendmail -oi -t
elif test -f /usr/sbin/sendmail
then
  MAIL_AGENT=/usr/sbin/sendmail -oi -t
else
  MAIL_AGENT=rmail $BUGmysql
fi

# Figure out how to echo a string without a trailing newline
N=`echo 'hi there\c'`
case $N in
  *c)   ECHON1='echo -n' ECHON2= ;;
  *)ECHON1=echo ECHON2='\c' ;;
esac

# Find out the name of the originator of this PR.
if test -n $NAME 
then
  ORIGINATOR=$NAME
elif test -f $HOME/.fullname
then
  ORIGINATOR=`sed -e '1q' $HOME/.fullname`
else
  # Must use temp file due to incompatibilities in quoting behavior
  # and to protect shell metacharacters in the expansion of $LOGNAME
  $PASSWD | grep ^$LOGNAME: | awk -F: '{print $5}' | sed -e 's/,.*//'
 $TEMP
  ORIGINATOR=`cat $TEMP`
  rm -f $TEMP
fi

if test -n $ORGANIZATION
then
  if test -f $ORGANIZATION
  then
ORGANIZATION=`cat $ORGANIZATION`
  fi
else
  if test -f $HOME/.organization
  then
ORGANIZATION=`cat $HOME/.organization`
  elif test -f $HOME/.signature
  then
ORGANIZATION=`sed -e s/^/  / $HOME/.signature; echo `
  fi
fi

PATH_DIRS=`echo $PATH | sed -e 's/^:/. /' -e 's/:$/ ./' -e 's/::/ . /g'
-e 's/:/ /g' `

which_1 ()
{
  for cmd
  do
# Absolute path ?. 
if expr x$cmd : x/  /dev/null
then
  echo $cmd
  exit 0
else
  for d in $PATH_DIRS
  do
file=$d/$cmd
if test -x $file -a ! -d $file
then
  echo $file
  exit 0
fi
  done
fi
  done
  exit 1
}

change_editor ()
{
  echo You can change editor by setting the environment variable
VISUAL.
  echo If your shell is a bourne shell (sh) do
  echo VISUAL=your_editors_name; export VISUAL
  echo If your shell is a C shell (csh) do
  echo setenv VISUAL your_editors_name
}

# If they don't have a preferred editor set, then use emacs
if test -z $VISUAL
then
  if test -z $EDITOR
  then
EDIT=emacs
  else
EDIT=$EDITOR
  fi
else
  EDIT=$VISUAL
fi

#which_1 $EDIT
used_editor=`which_1 $EDIT`

echo test -x $used_editor
if test -x $used_editor
then
  echo Using editor $used_editor;
  change_editor
  sleep 2
else
  echo Could not find a text editor. (tried $EDIT)
  change_editor
  exit 1
fi

# Find out some information.
SYSTEM=`( test -f /bin/uname   /bin/uname -a ) || \
( test -f /usr/bin/uname   /usr/bin/uname -a ) || echo `
ARCH=`test -f /bin/arch   /bin/arch`
MACHINE=`test -f /bin/machine   /bin/machine`
FILE_PATHS=

for cmd in perl make gmake gcc cc
do
  file=`which_1 $cmd`
  if test $? = 0
  then
if test $cmd = gcc
then
  GCC_INFO=`$file -v 21`
elif test $cmd = perl
then
  PERL_INFO=`$file -v | grep -i version 21`
fi
FILE_PATHS=$FILE_PATHS $file
  fi
done

admin=`which_1 mysqladmin`
MYSQL_SERVER=
if test -x $admin
then
  MYSQL_SERVER=`$admin version 2 /dev/null`
  if test $? = 1
  then
MYSQL_SERVER=
  fi
fi

SUBJECT_C=[50 character or so descriptive subject here (for
reference)]
ORGANIZATION_C='organization of PR author (multiple lines)'
LICENCE_C='[none | licence | email support | extended email support ]'
SYNOPSIS_C='synopsis of the problem (one line)'
SEVERITY_C='[ non-critical | serious | critical ] (one line)'
PRIORITY_C='[ low | medium | high ] (one line)'
CLASS_C='[ sw-bug | doc-bug | change-request | support ] (one line)'
RELEASE_C='release number or tag (one line)'
ENVIRONMENT_C='machine, os, target, libraries (multiple lines)'
DESCRIPTION_C='precise description of the problem (multiple lines)'
HOW_TO_REPEAT_C='code/input/activities to reproduce the problem
(multiple 

Re: Error Installing mysql...

2001-09-05 Thread Sinisa Milivojevic

Carlos Augusto Perez Lima writes:
 Hi,
 
 I'm trying to install the mysql for Compaq Tru64 Unix 4.0f. I did the
 download of file  mysql-3.23.41.tar 
 # ./configure.
 # make
 ...
 ...
 + rm -f ./typelib.c 
 + /sbin/ln -s ../libmysql/typelib.c ./typelib.c 
 + rm -f ./violite.c 
 + /sbin/ln -s ../libmysql/violite.c ./violite.c 
 echo timestamp  linked_libmysql_r_sources
 make  all-recursive
 No suffix list.
 Making all in include
 No suffix list.
 Make: % rule can only use a single ':'.  Stop.
 *** Exit 1
 Stop.
 *** Exit 1
 Stop.
 # 
 What can i do ???
 Can anyboy help me ???
 
 Thank advanced.
 
 
  **
 Carlos Augusto Perez Lima
 System Administrator Bioinformatic 
  Milenia Biotecnologia  Genética.   Phone: (55) 43-371-9302 
  Street: Pedro Antonio de Souza, 405.   Fax: (55) 43-371-9011.
  86031-610 - Londrina, Pr - Brazil.mailto:[EMAIL PROTECTED]
 http://www.milenia.com.br
 http://www.bioinformatic.cjb.net
  **
  

Please use GNU make.

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


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

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




Error Installing mysql...

2001-09-04 Thread Carlos Augusto Perez Lima

Hi,

I'm trying to install the mysql for Compaq Tru64 Unix 4.0f. I did the
download of file  mysql-3.23.41.tar 
# ./configure.
# make
...
...
+ rm -f ./typelib.c 
+ /sbin/ln -s ../libmysql/typelib.c ./typelib.c 
+ rm -f ./violite.c 
+ /sbin/ln -s ../libmysql/violite.c ./violite.c 
echo timestamp  linked_libmysql_r_sources
make  all-recursive
No suffix list.
Making all in include
No suffix list.
Make: % rule can only use a single ':'.  Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
# 
What can i do ???
Can anyboy help me ???

Thank advanced.


 **
Carlos Augusto Perez Lima
System Administrator Bioinformatic 
 Milenia Biotecnologia  Genética.   Phone: (55) 43-371-9302 
 Street: Pedro Antonio de Souza, 405.   Fax: (55) 43-371-9011.
 86031-610 - Londrina, Pr - Brazil.mailto:[EMAIL PROTECTED]
http://www.milenia.com.br
http://www.bioinformatic.cjb.net
 **
 

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

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




Error installing DBI mySQL Driver

2001-05-18 Thread aelma

Hello 
I am trying to install DBD-mysql, i have installed all the requisites 
that its needs :
 
1. Perl == ActivePerl-5.6.1.626
2. MySQL == Ver 9.38 Distrib 3.22.32
3. DBI == DBI-1.15
4. C compiler and Gzip libraries are included in the installation of Linux
 
, but when i run the make told me and error.

The process of make with the error is:


mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/mysql
mkdir blib/lib/auto
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/mysql
mkdir blib/man3
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/DBD/mysql.pod blib/lib/DBD/mysql.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cc -c -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/DBI  -Dbool=char -
DHAS_BOOL -I/usr/local/include -O2-DVERSION=\2.0900\ -
DXS_VERSION=\2.0900\ -fpic -I/usr/lib/perl5/5.00503/i686-linux/CORE  
dbdimp.c
In file included from dbdimp.c:29:
dbdimp.h:31:49: mysql.h: No such file or directory
dbdimp.h:32:49: errmsg.h: No such file or directory
make: *** [dbdimp.o] Error 1


Why this error ??, please help me with this, I REALLY need an answer.

Thanks

Ana Elisa Martinez



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

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




error installing DBD::mysql

2001-05-17 Thread aelma

Hi, when i try to install the DBD::mysql that returns an error, i run the 
perl Makefile.PL without problems, but in the next step (make) prints an 
error.
 
This error is :
 
[root@microbell DBD-mysql-2.0900]# make
cc -c -I/usr/lib/perl5/site_perl/5.005/i686-linux/auto/DBI  -Dbool=char -
DHAS_BOOL -I/usr/local/include -O2-DVERSION=\2.0900\ -
DXS_VERSION=\2.0900\ -fpic -I/usr/lib/perl5/5.00503/i686-linux/CORE  
dbdimp.c
In file included from dbdimp.c:29:
dbdimp.h:31:49: mysql.h: No such file or directory
dbdimp.h:32:49: errmsg.h: No such file or directory
make: *** [dbdimp.o] Error 1
 
 
Why this error ??
I have installed the prerequisites that DBD::mysql needs to run, then 
what i am doing wrong ??
 
Any way to help me is wellcome.Please i really need to install this
:-) :-P.
 
Thanks.
Ana Elisa Martinez
 



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

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