LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using make and ./configure (https://www.linuxquestions.org/questions/linux-newbie-8/using-make-and-configure-6437/)

cbweb 09-11-2001 05:07 AM

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

jharris 09-11-2001 07:14 AM

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...


All times are GMT -5. The time now is 05:00 AM.