Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th August 2008, 09:18 PM
badcat351w Offline
Registered User
 
Join Date: Jul 2008
Posts: 9
Problem compiling and installing MySql 4.1.22

I tried compiling and installing MySql 4.1.22 and the config and make look fine, make install ends with the following, below that is the config, I think it is pretty standard, I am using FC9 with no gui, any help would be greatly appreciated,


make[4]: *** [install-data-local] Killed
make[4]: Leaving directory `/root/lamps/mysql-4.1.22/mysql-test'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/root/lamps/mysql-4.1.22/mysql-test'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/lamps/mysql-4.1.22/mysql-test'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/lamps/mysql-4.1.22'
make: *** [install] Error 2

./configure \
--prefix=/usr/local/mysql \
--with-unix-socket-path=/tmp/mysql.sock \
--with-mysqld-user=mysql \
--without-debug
Reply With Quote
  #2  
Old 5th August 2008, 09:35 PM
oneofmany's Avatar
oneofmany Offline
Registered User
 
Join Date: Aug 2006
Posts: 226
why do you need 4.1.22 specifically?

v3 and v5 are both available in the yum repository
Reply With Quote
  #3  
Old 5th August 2008, 10:02 PM
badcat351w Offline
Registered User
 
Join Date: Jul 2008
Posts: 9
Quote:
Originally Posted by oneofmany
why do you need 4.1.22 specifically?

v3 and v5 are both available in the yum repository
this is the version I need for what I am doing, thanks,
Reply With Quote
  #4  
Old 5th August 2008, 10:06 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Can you post the error !!! not just the last few lines
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #5  
Old 5th August 2008, 10:08 PM
badcat351w Offline
Registered User
 
Join Date: Jul 2008
Posts: 9
Quote:
Originally Posted by leigh123@linux
Can you post the error !!! not just the last few lines
That is the only error I received that I could see,
Reply With Quote
  #6  
Old 5th August 2008, 10:15 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by badcat351w
That is the only error I received that I could see,

In that case post all the output !
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #7  
Old 5th August 2008, 10:27 PM
badcat351w Offline
Registered User
 
Join Date: Jul 2008
Posts: 9
Attached is the full make install info,
Attached Files
File Type: txt mysql-error.txt (46.0 KB, 71 views)
Reply With Quote
  #8  
Old 5th August 2008, 10:44 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Try this ( the --prefix path was wrong )

./configure \
--prefix=/usr/local \
--with-unix-socket-path=/tmp/mysql.sock \
--with-mysqld-user=mysql \
--without-debug
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #9  
Old 6th August 2008, 06:46 PM
badcat351w Offline
Registered User
 
Join Date: Jul 2008
Posts: 9
Quote:
Originally Posted by leigh123@linux
Try this ( the --prefix path was wrong )

./configure \
--prefix=/usr/local \
--with-unix-socket-path=/tmp/mysql.sock \
--with-mysqld-user=mysql \
--without-debug
Same error, I did do a make clean before hand and deleted all data also,
Reply With Quote
  #10  
Old 6th August 2008, 10:06 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
It compiles OK on my F9 x86_64 install !

Code:
/bin/sh ../mkinstalldirs \
		/usr/local/mysql-test/t \
		/usr/local/mysql-test/r \
		/usr/local/mysql-test/include \
		/usr/local/mysql-test/std_data \
		/usr/local/mysql-test/lib
mkdir -p -- /usr/local/mysql-test/t /usr/local/mysql-test/r /usr/local/mysql-test/include /usr/local/mysql-test/std_data /usr/local/mysql-test/lib
/usr/bin/install -c -m 644 ./README /usr/local/mysql-test
/usr/bin/install -c -m 644 ./t/*.def /usr/local/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.test /usr/local/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.disabled /usr/local/mysql-test/t
/usr/bin/install: cannot stat `./t/*.disabled': No such file or directory
make[4]: [install-data-local] Error 1 (ignored)
/usr/bin/install -c -m 644 ./t/*.opt /usr/local/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.sh /usr/local/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.slave-mi /usr/local/mysql-test/t
/usr/bin/install -c -m 644 ./r/*.result /usr/local/mysql-test/r
/usr/bin/install -c -m 644 ./r/*.require /usr/local/mysql-test/r
/usr/bin/install -c -m 644 ./include/*.inc /usr/local/mysql-test/include
/usr/bin/install -c -m 644 ./std_data/*.dat /usr/local/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.*001 /usr/local/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.cnf /usr/local/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/des_key_file /usr/local/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/Moscow_leap /usr/local/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.pem /usr/local/mysql-test/std_data
/usr/bin/install -c -m 644 ./lib/init_db.sql /usr/local/mysql-test/lib
/usr/bin/install -c -m 644 ./lib/*.pl /usr/local/mysql-test/lib
test -z "/usr/local/mysql-test" || mkdir -p -- "/usr/local/mysql-test"
 /usr/bin/install -c -m 644 'std_data/client-key.pem' '/usr/local/mysql-test/client-key.pem'
 /usr/bin/install -c -m 644 'std_data/client-cert.pem' '/usr/local/mysql-test/client-cert.pem'
 /usr/bin/install -c -m 644 'std_data/cacert.pem' '/usr/local/mysql-test/cacert.pem'
 /usr/bin/install -c -m 644 'std_data/server-cert.pem' '/usr/local/mysql-test/server-cert.pem'
 /usr/bin/install -c -m 644 'std_data/server-key.pem' '/usr/local/mysql-test/server-key.pem'
test -z "/usr/local/mysql-test" || mkdir -p -- "/usr/local/mysql-test"
 /usr/bin/install -c 'mysql-test-run' '/usr/local/mysql-test/mysql-test-run'
 /usr/bin/install -c 'install_test_db' '/usr/local/mysql-test/install_test_db'
 /usr/bin/install -c 'mtr' '/usr/local/mysql-test/mtr'
 /usr/bin/install -c 'mysql-test-run.pl' '/usr/local/mysql-test/mysql-test-run.pl'
make[4]: Leaving directory `/home/leigh05/Desktop/mysql-4.1.22/mysql-test'
make[3]: Leaving directory `/home/leigh05/Desktop/mysql-4.1.22/mysql-test'
make[2]: Leaving directory `/home/leigh05/Desktop/mysql-4.1.22/mysql-test'
Making install in support-files
make[2]: Entering directory `/home/leigh05/Desktop/mysql-4.1.22/support-files'
Making install in MacOSX
make[3]: Entering directory `/home/leigh05/Desktop/mysql-4.1.22/support-files/MacOSX'
make[4]: Entering directory `/home/leigh05/Desktop/mysql-4.1.22/support-files/MacOSX'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/leigh05/Desktop/mysql-4.1.22/support-files/MacOSX'
make[3]: Leaving directory `/home/leigh05/Desktop/mysql-4.1.22/support-files/MacOSX'
make[3]: Entering directory `/home/leigh05/Desktop/mysql-4.1.22/support-files'
make[4]: Entering directory `/home/leigh05/Desktop/mysql-4.1.22/support-files'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/mysql" || mkdir -p -- "/usr/local/share/mysql"
 /usr/bin/install -c -m 644 'my-small.cnf' '/usr/local/share/mysql/my-small.cnf'
 /usr/bin/install -c -m 644 'my-medium.cnf' '/usr/local/share/mysql/my-medium.cnf'
 /usr/bin/install -c -m 644 'my-large.cnf' '/usr/local/share/mysql/my-large.cnf'
 /usr/bin/install -c -m 644 'my-huge.cnf' '/usr/local/share/mysql/my-huge.cnf'
 /usr/bin/install -c -m 644 'my-innodb-heavy-4G.cnf' '/usr/local/share/mysql/my-innodb-heavy-4G.cnf'
 /usr/bin/install -c -m 644 'mysql-log-rotate' '/usr/local/share/mysql/mysql-log-rotate'
 /usr/bin/install -c -m 644 'binary-configure' '/usr/local/share/mysql/binary-configure'
 /usr/bin/install -c -m 644 'ndb-config-2-node.ini' '/usr/local/share/mysql/ndb-config-2-node.ini'
test -z "/usr/local/share/mysql" || mkdir -p -- "/usr/local/share/mysql"
 /usr/bin/install -c 'mysql.server' '/usr/local/share/mysql/mysql.server'
make[4]: Leaving directory `/home/leigh05/Desktop/mysql-4.1.22/support-files'
make[3]: Leaving directory `/home/leigh05/Desktop/mysql-4.1.22/support-files'
make[2]: Leaving directory `/home/leigh05/Desktop/mysql-4.1.22/support-files'
make[1]: Leaving directory `/home/leigh05/Desktop/mysql-4.1.22'
[root@localhost mysql-4.1.22]#
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #11  
Old 7th August 2008, 12:39 AM
Armpit Offline
Registered User
 
Join Date: Aug 2008
Posts: 16
Are you:

"make install" 'ing as root because I see no REAL error message.

Although I HAVE been drinking.
Reply With Quote
  #12  
Old 7th August 2008, 02:29 PM
badcat351w Offline
Registered User
 
Join Date: Jul 2008
Posts: 9
Below are the things I checked and unchecked during the install, no gui is installed, and I did do the config and make as root,

1.uncheck gnome desktop environment
2.select only vim under emacs applications/editors
3.select text based internet and make sure lynx is selected- check out 'elinks' program
4.under development select development libraries and development tools and fedora packager
5.under servers select server configuration tools
6.under base system select base, hardware support, and system tools
Reply With Quote
  #13  
Old 7th August 2008, 02:58 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
I cheated and ran these commands to find the missing the missing dependencies (P.S the srpm wont build on F9 ) !


Code:
wget http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/core/updates/4/SRPMS/mysql-4.1.20-1.FC4.1.src.rpm
rpmbuild --rebuild mysql-4.1.20-1.FC4.1.src.rpm
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
Reply

Tags
compiling, installing, mysql, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing mysql for fedora 7 problem easy6211 Installation and Live Media 5 7th January 2008 11:54 AM
problem in installing php with apache and mysql shreedhan Servers & Networking 3 28th July 2007 01:37 PM
Problem installing updates after installing MySQL 4.1.11 garthbrown Using Fedora 4 26th May 2005 06:49 AM
problem for compiling mysql-4.1.11 fedoracobra Installation and Live Media 2 21st May 2005 03:40 PM


Current GMT-time: 17:15 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat