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.
> 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.
--
Andy Dougherty doug...@lafayette.edu
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.
Waleed
--
Andy Dougherty doug...@lafayette.edu
Ran the make command and I got the following
make: *** No rule to make target `<command', needed by `miniperlmain.o'.
Stop.
Does that mean I need to delete the <command line> as well??
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.
Making utilities
make[1]: Entering directory
`/sccm/admin/mbaker/src/perl-5.6.1-linux/perl-5.6.1/utils'
../miniperl -I../lib c2ph.PL
Extracting c2ph (with variable substitutions)
Linking c2ph to pstruct.
../miniperl -I../lib h2ph.PL
Extracting h2ph (with variable substitutions)
../miniperl -I../lib h2xs.PL
Extracting h2xs (with variable substitutions)
../miniperl -I../lib perlbug.PL
Extracting perlbug (with variable substitutions)
../miniperl -I../lib perldoc.PL
Extracting perldoc (with variable substitutions)
../miniperl -I../lib pl2pm.PL
Extracting pl2pm (with variable substitutions)
../miniperl -I../lib splain.PL
Extracting splain (with variable substitutions)
../miniperl -I../lib perlcc.PL
Extracting perlcc (with variable substitutions)
../miniperl -I../lib dprofpp.PL
Extracting dprofpp (with variable substitutions)
make[1]: Leaving directory
`/sccm/admin/mbaker/src/perl-5.6.1-linux/perl-5.6.1/utils'
Making x2p stuff
make[1]: Entering directory
`/sccm/admin/mbaker/src/perl-5.6.1-linux/perl-5.6.1/x2p'
make[1]: *** No rule to make target `<built-in>', needed by `hash.o'. Stop.
make[1]: Leaving directory
`/sccm/admin/mbaker/src/perl-5.6.1-linux/perl-5.6.1/x2p'
make: *** [translators] Error 2
Any Suggestions??
Please let me know,
Thanks,
Yep. Safe to remove them.
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: smo...@perl.org
http://archives.develooper.com/daily...@perl.org/ per...@perl.org
send smoke reports to: smokers...@perl.org, QA: http://qa.perl.org
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
$sed \
-e '1d' \
-e '/^#.*<stdin>/d' \
-e '/^#.*<builtin>/d' \
-e '/^#.*<built-in>/d' \
-e '/^#.*<command line>/d' \
-e '/^#.*"-"/d' \
Or, if you do it the .* way
$sed \
-e '1d' \
-e '/^#.*<stdin>/d' \
-e '/^#.*<.*>/d' \
-e '/^#.*"-"/d' \
and then restart all over.
# make distclean
# Configure .....
--
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
Nicholas Clark
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> ??
> #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
Please take a look at the steps below
> #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?????
>
>
Don't care. It's duplicate at the moment, just leave it in or out, whatever
you prefer, cannot harm.
> Please take a look at the steps below
Looks OK
> > #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?????
> >
> >
> > Thanks,
> > Waleed
--
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
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-...@perl.org]
Sent: Thursday, February 13, 2003 10:30 AM
To: wha...@strong.com
Subject: Re: [perl #20881] Make problem
Adi