# New Ticket Created by Waleed Hamad # Please include the string: [perl #20881] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=20881 >
Hi, I need your help if possible.
I just downloaded perl 5.6.1
I ran the Configure
Then, when I did run the make command I am getting this
make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'. Stop.
Do you know what am I missing??
Waleed
*****DISCLOSURE STATEMENT***** This transmission may contain information which is confidential, proprietary and privileged. If you are not the individual or entity to which it is addressed, note that any review, disclosure, copying, retransmission or other use is strictly prohibited. If you received this transmission in error, please notify the sender immediately and delete the material from your system. This transmission is for informational purposes only, and is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any information regarding specific investments or other products is not warranted as to completeness or accuracy and is subject to change without notice.
Andy, Thank you so much for your quick response. I will try that and get back to you very soon.
I do have a quick question though, Our developers are the one requiring to run 5.6.1 and we do have 5.8.0 as well Here is the directory structure /apps/perl/5.6.1 & /apps/perl/5.8.0
The question I have is, I am trying to get about 40 CPANs installed on both versions. Can I use the same ones from one of the versions and copy it over to the other version or do I have to do it twice??
Please get back to me on this, and again thank you so much for your help.
-----Original Message----- From: Andy Dougherty [mailto:perlbug-follo...@perl.org] Sent: Wednesday, February 12, 2003 8:17 PM To: wha...@strong.com Subject: Re: [perl #20881] Make problem
On 12 Feb 2003, Waleed Hamad wrote:
> I just downloaded perl 5.6.1 > make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'.
The fix is simply to delete all the lines in 'makefile' that contain the string '<built-in>'.
This is also fixed in perl-5.8.0, which you might consider using instead.
> Do you know what am I missing??
Nothing, really. It's a change in gcc-3's output that appeared after 5.6.1 was released.
*****DISCLOSURE STATEMENT***** This transmission may contain information which is confidential, proprietary and privileged. If you are not the individual or entity to which it is addressed, note that any review, disclosure, copying, retransmission or other use is strictly prohibited. If you received this transmission in error, please notify the sender immediately and delete the material from your system. This transmission is for informational purposes only, and is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any information regarding specific investments or other products is not warranted as to completeness or accuracy and is subject to change without notice.
-----Original Message----- From: Andy Dougherty [mailto:perlbug-follo...@perl.org] Sent: Wednesday, February 12, 2003 8:17 PM To: wha...@strong.com Subject: Re: [perl #20881] Make problem
On 12 Feb 2003, Waleed Hamad wrote:
> I just downloaded perl 5.6.1 > make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'.
The fix is simply to delete all the lines in 'makefile' that contain the string '<built-in>'.
This is also fixed in perl-5.8.0, which you might consider using instead.
> Do you know what am I missing??
Nothing, really. It's a change in gcc-3's output that appeared after 5.6.1 was released.
*****DISCLOSURE STATEMENT***** This transmission may contain information which is confidential, proprietary and privileged. If you are not the individual or entity to which it is addressed, note that any review, disclosure, copying, retransmission or other use is strictly prohibited. If you received this transmission in error, please notify the sender immediately and delete the material from your system. This transmission is for informational purposes only, and is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any information regarding specific investments or other products is not warranted as to completeness or accuracy and is subject to change without notice.
-----Original Message----- From: Andy Dougherty [mailto:perlbug-follo...@perl.org] Sent: Wednesday, February 12, 2003 8:17 PM To: wha...@strong.com Subject: Re: [perl #20881] Make problem
On 12 Feb 2003, Waleed Hamad wrote:
> I just downloaded perl 5.6.1 > make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'.
The fix is simply to delete all the lines in 'makefile' that contain the string '<built-in>'.
This is also fixed in perl-5.8.0, which you might consider using instead.
> Do you know what am I missing??
Nothing, really. It's a change in gcc-3's output that appeared after 5.6.1 was released.
*****DISCLOSURE STATEMENT***** This transmission may contain information which is confidential, proprietary and privileged. If you are not the individual or entity to which it is addressed, note that any review, disclosure, copying, retransmission or other use is strictly prohibited. If you received this transmission in error, please notify the sender immediately and delete the material from your system. This transmission is for informational purposes only, and is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any information regarding specific investments or other products is not warranted as to completeness or accuracy and is subject to change without notice.
I deleted both <build in> and <command line> from the makefile Ran the make command again, Things seemed to be working until the end of it, and here is a portion of the output and please take a close look at the last 4 lines.
-----Original Message----- From: Andy Dougherty [mailto:perlbug-follo...@perl.org] Sent: Wednesday, February 12, 2003 8:17 PM To: wha...@strong.com Subject: Re: [perl #20881] Make problem
On 12 Feb 2003, Waleed Hamad wrote:
> I just downloaded perl 5.6.1 > make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'.
The fix is simply to delete all the lines in 'makefile' that contain the string '<built-in>'.
This is also fixed in perl-5.8.0, which you might consider using instead.
> Do you know what am I missing??
Nothing, really. It's a change in gcc-3's output that appeared after 5.6.1 was released.
*****DISCLOSURE STATEMENT***** This transmission may contain information which is confidential, proprietary and privileged. If you are not the individual or entity to which it is addressed, note that any review, disclosure, copying, retransmission or other use is strictly prohibited. If you received this transmission in error, please notify the sender immediately and delete the material from your system. This transmission is for informational purposes only, and is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any information regarding specific investments or other products is not warranted as to completeness or accuracy and is subject to change without notice.
> *****DISCLOSURE STATEMENT***** > This transmission may contain information which is confidential, proprietary > and privileged. If you are not the individual or entity to which it is > addressed, note that any review, disclosure, copying, retransmission or > other use is strictly prohibited. If you received this transmission in > error, please notify the sender immediately and delete the material from > your system. This transmission is for informational purposes only, and is > not intended as an offer or solicitation for the purchase or sale of any > financial instrument or as an official confirmation of any transaction. Any > information regarding specific investments or other products is not > warranted as to completeness or accuracy and is subject to change without > notice.
On Thu 13 Feb 2003 16:12, Waleed Hamad <wha...@strong.com> wrote:
> Andy, > Sorry to keep bothering you with this,
> I deleted both <build in> and <command line> from the makefile > Ran the make command again, > Things seemed to be working until the end of it, and here is a portion of > the output and please take a close look at the last 4 lines.
The easiest (but not the fastest) solution is to change makedepend.SH find the line to the sed command that deletes the '<builtin>' lines from Makefiles, and change that to '<.*>'. In 5.8.0 that would look somewhat like
> *****DISCLOSURE STATEMENT***** > This transmission may contain information which is confidential, proprietary > and privileged. If you are not the individual or entity to which it is > addressed, note that any review, disclosure, copying, retransmission or > other use is strictly prohibited. If you received this transmission in > error, please notify the sender immediately and delete the material from > your system. This transmission is for informational purposes only, and is > not intended as an offer or solicitation for the purchase or sale of any > financial instrument or as an official confirmation of any transaction. Any > information regarding specific investments or other products is not > warranted as to completeness or accuracy and is subject to change without > notice.
On Thu, Feb 13, 2003 at 08:53:09AM -0600, Waleed Hamad wrote: > Andy, > Thank you so much for your quick response. > I will try that and get back to you very soon.
> I do have a quick question though, > Our developers are the one requiring to run 5.6.1 and we do have 5.8.0 as > well > Here is the directory structure > /apps/perl/5.6.1 & /apps/perl/5.8.0
> The question I have is, > I am trying to get about 40 CPANs installed on both versions.
You mean about 40 additional modules downloaded from CPAN?
> Can I use the same ones from one of the versions and copy it over to the > other version or do I have to do it twice??
It's safest to build them once for your perl 5.6.1
perl5.6.1 Makefile.PL make all make test make install
and then again for perl 5.8.0
perl5.8.0 Makefile.PL make all make test make install
(where you replace perl5.6.1 and perl5.8.0 with your names for your two perl binaries)
Or if you prefer, perl5.6.1 -MCPAN -e shell and perl5.8.0 -MCPAN -e shell
Thank you so very much for all the help that you are trying to provide. That is so nice of you and I did not expect all of this from you guys.
I am still having the problem though, and I hope you will continue helping me until I get it resolved.
After I received your email here is what I have done.
#1. Ran the make distclean #2. Ran the sh Configure (to rebuild everything again) #3. Edited the makedepend.SH looking for anything on the <build in> and I did not find anything #4. So I edited the makefile itself deleted all the lines that has to do with the <command line> one Changed the <built-in> to <.*> as you recommended #5. Ran the make command
I got this error
make: *** No rule to make target `<.*>', needed by `miniperlmain.o'. Stop.
So Are you trying to tell me that instead of doing these steps I just mentioned above to do the following
#1. Edit the makedepend.SH file At the end of the file change add the following
$sed \ -e '1d' \ -e '/^#.*<stdin>/d' \ -e '/^#.*<.*>/d' \ -e '/^#.*"-"/d' \ Save the file
#2. ran the make distclean and the Configure again #3. edit the makefile and change the <built in> to <.*> #4. Run the make comamnd?????
If that is the case, what shall I do with the <command line> ??
-----Original Message----- From: H.Merijn Brand (via RT) [mailto:perlbug-follo...@perl.org] Sent: Thursday, February 13, 2003 9:22 AM To: wha...@strong.com Subject: Re: [perl #20881] Make problem
On Thu 13 Feb 2003 16:12, Waleed Hamad <wha...@strong.com> wrote: > Andy, > Sorry to keep bothering you with this,
> I deleted both <build in> and <command line> from the makefile > Ran the make command again, > Things seemed to be working until the end of it, and here is a portion of > the output and please take a close look at the last 4 lines.
The easiest (but not the fastest) solution is to change makedepend.SH find the line to the sed command that deletes the '<builtin>' lines from Makefiles, and change that to '<.*>'. In 5.8.0 that would look somewhat like
> *****DISCLOSURE STATEMENT***** > This transmission may contain information which is confidential, proprietary > and privileged. If you are not the individual or entity to which it is > addressed, note that any review, disclosure, copying, retransmission or > other use is strictly prohibited. If you received this transmission in > error, please notify the sender immediately and delete the material from > your system. This transmission is for informational purposes only, and is > not intended as an offer or solicitation for the purchase or sale of any > financial instrument or as an official confirmation of any transaction. Any > information regarding specific investments or other products is not > warranted as to completeness or accuracy and is subject to change without > notice.
*****DISCLOSURE STATEMENT***** This transmission may contain information which is confidential, proprietary and privileged. If you are not the individual or entity to which it is addressed, note that any review, disclosure, copying, retransmission or other use is strictly prohibited. If you received this transmission in error, please notify the sender immediately and delete the material from your system. This transmission is for informational purposes only, and is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any information regarding specific investments or other products is not warranted as to completeness or accuracy and is subject to change without notice.
On Thu 13 Feb 2003 16:58, Waleed Hamad <wha...@strong.com> wrote:
> Thank you so very much for all the help that you are trying to provide. > That is so nice of you and I did not expect all of this from you guys.
> I am still having the problem though, and I hope you will continue helping > me until I get it resolved.
> After I received your email here is what I have done.
> #1. Ran the make distclean > #2. Ran the sh Configure (to rebuild everything again) > #3. Edited the makedepend.SH looking for anything on the <build in> and I > did not find anything
> #4. So I edited the makefile itself > deleted all the lines that has to do with the <command line> one > Changed the <built-in> to <.*> as you recommended > #5. Ran the make command
> I got this error
> make: *** No rule to make target `<.*>', needed by `miniperlmain.o'. Stop.
> So Are you trying to tell me that instead of doing these steps I just > mentioned above to do the following
> #1. Edit the makedepend.SH file > At the end of the file change add the following
> #2. ran the make distclean and the Configure again > #3. edit the makefile and change the <built in> to <.*> > #4. Run the make comamnd?????
> If that is the case, what shall I do with the <command line> ??
> Please let me know, > Thanks, > Waleed
> -----Original Message----- > From: H.Merijn Brand (via RT) [mailto:perlbug-follo...@perl.org] > Sent: Thursday, February 13, 2003 9:22 AM > To: wha...@strong.com > Subject: Re: [perl #20881] Make problem
> On Thu 13 Feb 2003 16:12, Waleed Hamad <wha...@strong.com> wrote: > > Andy, > > Sorry to keep bothering you with this,
> > I deleted both <build in> and <command line> from the makefile > > Ran the make command again, > > Things seemed to be working until the end of it, and here is a portion of > > the output and please take a close look at the last 4 lines.
> The easiest (but not the fastest) solution is to change makedepend.SH > find the line to the sed command that deletes the '<builtin>' lines from > Makefiles, and change that to '<.*>'. In 5.8.0 that would look somewhat like
> > *****DISCLOSURE STATEMENT***** > > This transmission may contain information which is confidential, > proprietary > > and privileged. If you are not the individual or entity to which it is > > addressed, note that any review, disclosure, copying, retransmission or > > other use is strictly prohibited. If you received this transmission in > > error, please notify the sender immediately and delete the material from > > your system. This transmission is for informational purposes only, and is > > not intended as an offer or solicitation for the purchase or sale of any > > financial instrument or as an official confirmation of any transaction. > Any > > information regarding specific investments or other products is not > > warranted as to completeness or accuracy and is subject to change without > > notice.
> *****DISCLOSURE STATEMENT***** > This transmission may contain information which is confidential, proprietary > and privileged. If you are not the individual or entity to which it is > addressed, note that any review, disclosure, copying, retransmission or > other use is strictly prohibited. If you received this transmission in > error, please notify the sender immediately and delete the material from > your system. This transmission is for informational purposes only, and is > not intended as an offer or solicitation for the purchase or sale of any > financial instrument or as an official confirmation of any transaction. Any > information regarding specific investments or other products is not > warranted as to completeness or accuracy and is subject to change without > notice.
> #2. ran the make distclean and the Configure again > #3. edit the makefile and change the <built in> to <.*> > #4. Run the make comamnd?????
> Thanks, > Waleed -----Original Message----- From: H.Merijn Brand (via RT) [mailto:perlbug-follo...@perl.org] Sent: Thursday, February 13, 2003 10:06 AM To: wha...@strong.com Subject: Re: [perl #20881] Make problem
On Thu 13 Feb 2003 16:58, Waleed Hamad <wha...@strong.com> wrote: > Thank you so very much for all the help that you are trying to provide. > That is so nice of you and I did not expect all of this from you guys.
> I am still having the problem though, and I hope you will continue helping > me until I get it resolved.
> After I received your email here is what I have done.
> #1. Ran the make distclean
> #2. Ran the sh Configure (to rebuild everything again) > #3. Edited the makedepend.SH looking for anything on the <build in> and I > did not find anything
Swap point 2 and 3
> #4. So I edited the makefile itself > deleted all the lines that has to do with the <command line> one > Changed the <built-in> to <.*> as you recommended > #5. Ran the make command
> I got this error
> make: *** No rule to make target `<.*>', needed by `miniperlmain.o'. Stop.
> So Are you trying to tell me that instead of doing these steps I just > mentioned above to do the following
> #1. Edit the makedepend.SH file > At the end of the file change add the following
> #2. ran the make distclean and the Configure again > #3. edit the makefile and change the <built in> to <.*> > #4. Run the make comamnd?????
> If that is the case, what shall I do with the <command line> ??
> Please let me know, > Thanks, > Waleed
> -----Original Message----- > From: H.Merijn Brand (via RT) [mailto:perlbug-follo...@perl.org] > Sent: Thursday, February 13, 2003 9:22 AM > To: wha...@strong.com > Subject: Re: [perl #20881] Make problem
> On Thu 13 Feb 2003 16:12, Waleed Hamad <wha...@strong.com> wrote: > > Andy, > > Sorry to keep bothering you with this,
> > I deleted both <build in> and <command line> from the makefile > > Ran the make command again, > > Things seemed to be working until the end of it, and here is a portion of > > the output and please take a close look at the last 4 lines.
> The easiest (but not the fastest) solution is to change makedepend.SH > find the line to the sed command that deletes the '<builtin>' lines from > Makefiles, and change that to '<.*>'. In 5.8.0 that would look somewhat like
> > *****DISCLOSURE STATEMENT***** > > This transmission may contain information which is confidential, > proprietary > > and privileged. If you are not the individual or entity to which it is > > addressed, note that any review, disclosure, copying, retransmission or > > other use is strictly prohibited. If you received this transmission in > > error, please notify the sender immediately and delete the material from > > your system. This transmission is for informational purposes only, and is > > not intended as an offer or solicitation for the purchase or sale of any > > financial instrument or as an official confirmation of any transaction. > Any > > information regarding specific investments or other products is not > > warranted as to completeness or accuracy and is subject to change without > > notice.
> *****DISCLOSURE STATEMENT***** > This transmission may contain information which is confidential, proprietary > and privileged. If you are not the individual or entity to which it is > addressed, note that any review, disclosure, copying, retransmission or > other use is strictly prohibited. If you received this transmission in > error, please notify the sender immediately and delete the material from > your system. This transmission is for informational purposes only, and is > not intended as an offer or solicitation for the purchase or sale of any > financial instrument or as an official confirmation of any transaction. Any > information regarding specific investments or other products is not > warranted as to completeness or accuracy and is subject to change without > notice.
*****DISCLOSURE STATEMENT***** This transmission may contain information which is confidential, proprietary and privileged. If you are not the individual or entity to which it is addressed, note that any review, disclosure, copying, retransmission or other use is strictly prohibited. If you received this transmission in error, please notify the sender immediately and delete the material from your system. This transmission is for informational purposes only, and is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any information regarding specific investments or other products is not warranted as to completeness or accuracy and is subject to change without notice.
On Thu, Feb 13, 2003 at 10:13:06AM -0600, Waleed Hamad wrote:
[snip]
Follow this steps and you should be OK:
1. unpack the 5.6.1 distribution 2. cd to the perl5.6.1 directory 3. $ cp makedepend.SH makedepend.SH.orig 4. $ sed 's/<stdin>/<.*>/' makedepend.SH.orig > makedepend.SH 5. $ ./Configure 6. $ make test
Adi, Thanks for your steps, I have followed them but I am still getting an error when I run the make test
Please look below
cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory `sh cflags libperl.a pp_ctl.o` pp_ctl.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory `sh cflags libperl.a pp_sys.o` pp_sys.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory pp_sys.c: In function `Perl_pp_sysread': pp_sys.c:1499: incompatible type for argument 5 of `recvfrom' pp_sys.c: In function `Perl_pp_send': pp_sys.c:1693: incompatible type for argument 5 of `sendto' pp_sys.c: In function `Perl_pp_bind': pp_sys.c:2189: incompatible type for argument 2 of `bind' pp_sys.c: In function `Perl_pp_connect': pp_sys.c:2227: incompatible type for argument 2 of `connect' pp_sys.c: In function `Perl_pp_accept': pp_sys.c:2296: incompatible type for argument 2 of `accept' pp_sys.c: In function `Perl_pp_getpeername': pp_sys.c:2469: incompatible type for argument 2 of `getsockname' pp_sys.c:2473: incompatible type for argument 2 of `getpeername' make: *** [pp_sys.o] Error 1
-----Original Message----- From: ena...@rdslink.ro (via RT) [mailto:perlbug-follo...@perl.org] Sent: Thursday, February 13, 2003 10:30 AM To: wha...@strong.com Subject: Re: [perl #20881] Make problem
On Thu, Feb 13, 2003 at 10:13:06AM -0600, Waleed Hamad wrote:
[snip]
Follow this steps and you should be OK:
1. unpack the 5.6.1 distribution 2. cd to the perl5.6.1 directory 3. $ cp makedepend.SH makedepend.SH.orig 4. $ sed 's/<stdin>/<.*>/' makedepend.SH.orig > makedepend.SH 5. $ ./Configure 6. $ make test
(the '$' is the shell prompt)
Adi
*****DISCLOSURE STATEMENT***** This transmission may contain information which is confidential, proprietary and privileged. If you are not the individual or entity to which it is addressed, note that any review, disclosure, copying, retransmission or other use is strictly prohibited. If you received this transmission in error, please notify the sender immediately and delete the material from your system. This transmission is for informational purposes only, and is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any information regarding specific investments or other products is not warranted as to completeness or accuracy and is subject to change without notice.