MySQL 5.5.28 compile on AIX 7.1


 
Thread Tools Search this Thread
Operating Systems AIX MySQL 5.5.28 compile on AIX 7.1
# 8  
Old 11-15-2012
Just a wild guess: could you try with newer version of autoconf?
# 9  
Old 11-15-2012
IMHo the problem is this:

Quote:
Originally Posted by Ismeret Tenger
Code:
/usr/bin/c++    -Wall -Wno-unused-parameter [...]

I am not sure about it, but if I'm not mistaken this is a call to IBMs compiler and not to gcc! Check your makefiles (or configure, whatever) if the correct compiler is used everywhere. Updating autoconf as radoulov already suggested might help this problem and is certainly a good idea anyway.

I hope this helps.
# 10  
Old 11-15-2012
I am not using "knowingly" autoconfig. Autoconf is in /opt/freeware.
Code:
{[root]palm:/:759}# find / -name autoconf -print
/opt/freeware/bin/autoconf
/opt/freeware/share/autoconf
/opt/freeware/share/autoconf/autoconf
/usr/bin/autoconf
/usr/share/autoconf
{[root]palm:/:760}# ls -l /usr/bin/autoconf
lrwxrwxrwx    1 root     system           31 Jul 27 13:30 /usr/bin/autoconf -> ../../opt/freeware/bin/autoconf
{

I use cmake, then gmake. Maybe cmake is using autoconf. I will check on the prezl site if there is a newer version of it and will install it, if mine is old. Other than that, I do not see much room for improvement. I am using gcc's c++:

Code:
{[root]palm:/:577}# find / -name c++ -print     
/opt/freeware/bin/c++
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.1/include/c++
/usr/bin/c++
You have mail in /usr/spool/mail/root
{[root]palm:/:758}# ls -l /usr/bin/c++
lrwxrwxrwx    1 root     system           26 Aug 08 09:32 /usr/bin/c++ -> ../../opt/freeware/bin/c++

Thanks ahead,
János

---------- Post updated at 09:55 AM ---------- Previous update was at 09:14 AM ----------

My autoconfig is 2.59. I try to install 2.69. I downloaded it into /tmp. Then when I try to force install it complains.
Code:
{[root]palm:/tmp:768}# rpm -fi autoconf-2.69-1.aix5.1.ppc.rpm
rpm: unexpected query source
{[root]palm:/tmp:769}# rpm -i autoconf-2.69-1.aix5.1.ppc.rpm 
file /opt/freeware/bin/autoheader from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/bin/autom4te from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/bin/autoreconf from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/bin/autoscan from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/bin/autoupdate from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/bin/ifnames from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/info/autoconf.info.gz from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/Autom4te/C4che.pm from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/Autom4te/ChannelDefs.pm from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/Autom4te/Channels.pm from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/Autom4te/Configure_ac.pm from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/Autom4te/FileUtils.pm from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/Autom4te/General.pm from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/Autom4te/Request.pm from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/Autom4te/XFile.pm from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/INSTALL from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/autoconf.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/autoconf.m4f from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/autoheader.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/autoscan.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/autotest.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/autoupdate.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/c.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/fortran.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/functions.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/bin/autoconf from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/general.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/headers.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/lang.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/libs.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/oldnames.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/programs.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/specific.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/status.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoconf/types.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autom4te.cfg from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autoscan/autoscan.list from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autotest/autotest.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autotest/autotest.m4f from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/autotest/general.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/m4sugar/m4sh.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/m4sugar/m4sh.m4f from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/m4sugar/m4sugar.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/m4sugar/m4sugar.m4f from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
file /opt/freeware/share/autoconf/m4sugar/version.m4 from install of autoconf-2.69-1 conflicts with file from package autoconf-2.59-1
{[root]palm:/tmp:770}#

So, what is the right way to install autoconf 2.69. I did not have this problem when I installed libsigsegv and m4.
Thanks ahead,
János
# 11  
Old 11-15-2012
Probably, despite their similar names, the two packages are not aware that they are versions of the same program and this is why the one doesn't want to overwrite the other. Remove 2.59 first ("rpm -e") and then install it ("-Uvh <filename>").

I hope this helps.

bakunin
# 12  
Old 11-20-2012
I am looking this first undefined symbol error:
Code:
ld: 0711-317 ERROR: Undefined symbol: .sql_print_error(char const*, ...)

It is really undefined. I checked the namespace here:
mysql: Namespace List - doxygen documentation | Fossies Dox
and it finds only this function:

Code:
sql_print_error(const char*, ...)

So, I am really wondering where this ERROR message is coming from because both:
Code:
PFS_check_intact::report_error
PFS_engine_table_share::check_one_table

referes to sql_print_error(const char*, ...) and that function is defined in log.cc

I have Sybase 15 on this machine and the Sybase variables to the PATH are in front of mysql's variables. I need to check if Sybase 15 has a function called sql_print_error. In the whole mysql 5.5.28 tree grep is unable to find:
Code:
sql_print_error(char const*, ...)

Any good tip ? /Yes I know Oracle is not supporting it on AIX, but this is a task I have to do./

Thanks ahead,

János
# 13  
Old 11-21-2012
I doubt I could provide any further help here. But I wanted to add that
considering that MySQL 5.5 is not supported on AIX, even if you succeed with the compilation,
bugs or post installation problems could block you again
and that's definitely not acceptable for any environment - production, QA or dev.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

I want to install/compile php with mysql.

I have removed php-5.1.6-27.el5 from our system. Because I installed it without mysql before. How can I install php together with mysql. # rpm -qa | grep mysql* libdbi-dbd-mysql-0.8.1a-1.2.2 mysql-5.0.77-4.el5_4.2 mysql-server-5.0.77-4.el5_4.2 mysql-connector-odbc-3.51.26r1127-1.el5 ##... (5 Replies)
Discussion started by: getrue
5 Replies

2. Solaris

Compile PHP 5.3.6 with MySql on Sun Blade 1500 Solaris 10

Hello, I'm trying to compile PHP 5.3.6 with Apache2 and MySql 5.5.12. I hit a problem that I can't seem to resolve by myself and I could not find a solution on the web. It looks like Apache and MySql installed ok, I can start/stop them with no problem. When I try to compile PHP the... (4 Replies)
Discussion started by: pn8830
4 Replies

3. AIX

Compile PHP on AIX 5.2 Error

Hello, I am trying to compile PHP 5.3.5 on AIX 5.2 with Apache 2.2.17 and Mysql 3.23.58 Apache und Mysql are working fine but if i try to compile PHP i get this error: with make: sapi/apache2handler/php_functions.lo main/internal_functions.lo -lmysqlclient -lfreetype -lX11 -lXpm -lpng -lz... (2 Replies)
Discussion started by: dtiger
2 Replies

4. Programming

Can someone compile and run a program on AIX 6.1 please?

Hi, I have a program which collects performance data from AIX. It works fine on older releases (< 5.3) but I fail to get data from /proc. I would really appreciate it if someone could compile (using ANSI compat C compiler), run the program (for 30-40 minutes) on AIX 6.1 and send me the... (2 Replies)
Discussion started by: StuBob
2 Replies

5. Solaris

DBI with MySQL client library compile on Solaris

how dow you complie perl module DBI with mysql from /usr/local/mysql/bin keeps going to mysql client for /usr/sfw/bin is it the LD_PATH ???...:confused: error is # perl login.cgi DBI connect('customers;mysql_socket=/tmp/mysql.sock:localhost','root',...) failed: Client does not... (1 Reply)
Discussion started by: photon
1 Replies

6. Solaris

Errors trying to compile PHP for use with MySQL on Solaris 10

have installed and am using the GNU based tools from the Sunfreeware site to compile PHP. I already have Apache, MySQL, and Oracle compiled and working properly. Below is my configure string for my PHP build: ./configure --prefix=/usr/local/php5 \... (2 Replies)
Discussion started by: sunsysadm2003
2 Replies

7. AIX

Error when compile httpd 2.2.8 on AIX 5.2

Hi everybody, I tried to compile httpd-2.8.8 on AIX 5.2. After downloading the Source file I run the configure as following: >> CC=gcc ./configure --prefix=/usr/local/apache After that i run the command make, but it failed. Below are last several lines of stdout of the make command: lo... (7 Replies)
Discussion started by: aldowsary
7 Replies

8. AIX

Compile gcc on AIX 5.2

I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error: bison -t --name-prefix=java_ -o java/parse.c java/parse.y M4sugar requires GNU M4. Install it before installing M4sugar or set the M4 environment variable to its path name.make: *** Broken pipe gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
Discussion started by: untamed
7 Replies

9. Solaris

error: compile 64 bit mysql on Solaris 10

I'm trying to build 64 bit mysql-5.0.37 on Solaris 10. CFLAGS="-O3" CXX='gcc -m64 -mcpu=v9' CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure -disable-shared --prefix=/usr/local/mysql --datadir=/home1/mysql_data --with-mysqld-user=mysql ... (0 Replies)
Discussion started by: csross
0 Replies

10. Programming

compile problem on aix

When compiling (a simple test program): #include <stdio.h> #include <sys/context.h> int main() { printf("Hello\n"); return 0; } on AIX 5.2 with gcc 3.2.2 from the IBM site I get the following error: /usr/include/sys/context.h:169: parse error before "sigset64_t"... (4 Replies)
Discussion started by: rein
4 Replies
Login or Register to Ask a Question