View previous topic :: View next topic |
Author |
Message |
sintaqx
Joined: 30 Jan 2005 Posts: 5
|
Posted: Mon Jan 31, 2005 4:58 Post subject: MySQL location |
|
|
When setting up nwnx on my linux system it ran into problems with the non-standard location of my mysql setup. A small alteration that would fix this would be to add a configure option to enter in the path to the mysql directory. something along the lines of --with-mysql=<dir>. |
|
Back to top |
|
|
DarkstarsDad
Joined: 17 Jan 2005 Posts: 59 Location: Overland Park, Kansas USA
|
Posted: Tue Feb 01, 2005 4:44 Post subject: you can change it b4 compile. |
|
|
You can edit the address before you ./configure it.
In the linnwnx2/db folder select the Makefile.in and open in your favorite editor.
Scroll down to the libs=@libs@ -L /dir/to/your/mysql -lmysqlclient -lz
save and exit Deleat the backup makefile (if your editor makes one).
Then ./configure like normal and it should find the custom location you put the mysql in.
Hope this helps someone. |
|
Back to top |
|
|
sintaqx
Joined: 30 Jan 2005 Posts: 5
|
Posted: Wed Feb 02, 2005 5:12 Post subject: |
|
|
That is essentially what I did, as well as making a couple simlinks. The configure flags would make it easier though. the fewer files the user is required to manipulate, the happier the user is |
|
Back to top |
|
|
DarkstarsDad
Joined: 17 Jan 2005 Posts: 59 Location: Overland Park, Kansas USA
|
Posted: Wed Feb 02, 2005 6:07 Post subject: Fewer=Better |
|
|
That is true but linux users are Really bad at not wanting things in a standard order. So until all the linux people decide to conform to the same setup structure there will always be a need to adjust files. It's what makes linux so fun. _________________ Just because you think you can't. Is the best reason to try it anyway. |
|
Back to top |
|
|
Dae'Loki Guest
|
Posted: Thu Apr 14, 2005 0:44 Post subject: NWserver |
|
|
I tried to do the ./configure, but it says the following.
nwn@nwn.elisair.com [~]# ./configure
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
nwn@nwn.elisair.com [~]# |
|
Back to top |
|
|
dguntner
Joined: 31 Dec 2004 Posts: 116
|
Posted: Thu Apr 14, 2005 4:33 Post subject: |
|
|
When you type:
gcc --version
at your shell prompt, what comes back? Also, which version of which Linux distribution are you using?
--Dave |
|
Back to top |
|
|
DarkstarsDad
Joined: 17 Jan 2005 Posts: 59 Location: Overland Park, Kansas USA
|
Posted: Mon Apr 18, 2005 14:02 Post subject: gcc |
|
|
do you have gcc installed? what version and flavor of linux are you using?
try here
http://gcc.gnu.org/
this might help _________________ Just because you think you can't. Is the best reason to try it anyway. |
|
Back to top |
|
|
|