LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2001, 06:07 AM   #1
cbweb
LQ Newbie
 
Registered: Sep 2001
Location: Dublin, Ireland
Distribution: Red Hat
Posts: 1

Rep: Reputation: 0
Using make and ./configure


Can I concatenate ./confure with --prefixes as in the following:

./configure --prefix=with-unixODBC= --with-mysql-dirs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql

Finally, if I get a message, no targets found after using
make
what does this indicate

Colm
 
Old 09-11-2001, 08:14 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Re: Using make and ./configure

Quote:
Originally posted by cbweb
./configure --prefix=with-unixODBC= --with-mysql-dirs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql
I take it that you are configuring PHP yeah?? You only use the --prefix option if you want to change the install dir, so it would read --prefix=/someDir/someOtherDir, also you would typically only use an = if you are going to supply a path, so for the with-unixODBC= option you would want to supply the path to the unix ODBC files.

As for the make error - if you are running ./configure with those options it probably isn't running correctly - don't you get an error message?? If ./configure doesn't complete sucessfully then your make isn't going to work.

Check your configure options and try again... I think you want something like
./configure --with-unixODBC=/path/to/odbc/drivers --with-mysql-dirs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql


HTH

Jamie...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a dilema after configure, make, make install... alixx Linux - Newbie 8 01-07-2007 07:09 PM
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 11:58 AM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 08:05 PM
./configure , make and make install does not work mobassir Linux - Software 7 07-30-2003 10:20 AM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 04:35 AM


All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration