dbTalk Databases Forums  

Re: No rule to make target custom.pl - gcc 3.3 & gcc 4.0 - Mac OSX

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Re: No rule to make target custom.pl - gcc 3.3 & gcc 4.0 - Mac OSX in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Re: No rule to make target custom.pl - gcc 3.3 & gcc 4.0 - Mac OSX - 05-25-2006 , 07:24 PM






Andrea Fastame wrote:
Quote:
make[1]: *** No rule to make target `custom.pl', needed by `custom.h'.
I just built MySQL++ 2.1.1 on my Mac with a similar configuration. Take
a look in MySQL++'s lib subdir -- is custom.pl in fact there? If not,
unpack the tarball again and try again. If it is, perhaps you do not
have a Perl interpreter in your path.

I notice that you're using MySQL from source, rather than the version
from Fink, as I am. I don't know why that would matter, but there's the
only significant difference between our two systems that I can see.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: No rule to make target custom.pl - gcc 3.3 & gcc 4.0 - Mac OSX - 05-26-2006 , 02:38 AM






I solved it.
Basically I compiled from <path>/mysql++/bui.ld. Notice the "build"
folder is a folder I usually create to build from scratch. That means
basically "cd build;../configure". I configured and then made from
mysql++ root and it worked like a charm. My mistake.
Thanks anyway.



Warren Young ha scritto:

Quote:
Andrea Fastame wrote:


make[1]: *** No rule to make target `custom.pl', needed by `custom.h'.


I just built MySQL++ 2.1.1 on my Mac with a similar configuration.
Take a look in MySQL++'s lib subdir -- is custom.pl in fact there? If
not, unpack the tarball again and try again. If it is, perhaps you do
not have a Perl interpreter in your path.

I notice that you're using MySQL from source, rather than the version
from Fink, as I am. I don't know why that would matter, but there's
the only significant difference between our two systems that I can see.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: No rule to make target custom.pl - gcc 3.3 & gcc 4.0 - Mac OSX - 05-26-2006 , 03:07 AM



Andrea Fastame wrote:
Quote:
basically "cd build;../configure". I configured and then made from
mysql++ root and it worked like a charm. My mistake.
Ah. I'm not sure if that use of autoconf would be easy to support or
not. I'd welcome a patch if you wanted to look into it. The problem is
that we use a hard-coded path to custom.pl, but you need to use
something like $(top_builddir) instead. The tricky bit is that you have
to make it so it doesn't break under other build systems.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.