Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make fails in x2p #5777

Closed
p5pRT opened this issue Jul 24, 2002 · 5 comments
Closed

make fails in x2p #5777

p5pRT opened this issue Jul 24, 2002 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 24, 2002

Migrated from rt.perl.org#15510 (status was 'resolved')

Searchable as RT15510$

@p5pRT
Copy link
Author

p5pRT commented Jul 24, 2002

From jkellam@indiana.edu

Hello,

I'm including the output from the myconfig script at the bottom of this message. Here's are the last few lines from make​:

  Making x2p stuff
make​: Warning​: Both `makefile' and `Makefile' exist
Current working directory /usr/local/src/perl-5.6.1/x2p
make​: Fatal error​: Don't know how to make target `<built-in>'
Current working directory /usr/local/src/perl-5.6.1/x2p
*** Error code 1
make​: Fatal error​: Command failed for target `translators'
[root@​primus perl-5.6.1]# cd ../../tar

I'm compiling with gcc-3.1 on a Sun 280R running Solaris 8. In order to build gcc-3.1 I had to build binutils-2.12. PATH was set to
/​:/bin​:/usr/bin​:/usr/sbin​:/usr/ccs/bin​:/usr/local/bin​:/usr/local/sbin
LD_LIBRARY_PATH was set to
/usr/local/lib​:/usr/ccs/lib

Please let me know if there's any additional information you need. Thanks for your help.

Jeannie Kellam
Indiana University
812-856-4446
jkellam@​indiana.edu

#!/bin/sh

# This script is designed to provide a handy summary of the configuration
# information being used to build perl. This is especially useful if you
# are requesting help from comp.lang.perl.misc on usenet or via mail.

# Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm.
cat <<'!NO!SUBS!'
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration​:
  Platform​:
  osname=solaris, osvers=2.8, archname=sun4-solaris
  uname='sunos primus 5.8 generic_108528-15 sun4u sparc sunw,sun-fire-280r '
  config_args='-Dcc=gcc -B/usr/ccs/bin/ -Uusemymalloc -d'
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
f
  useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
  use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler​:
  cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -I/usr/local/includ
e -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
  optimize='-O',
  cppflags='-fno-strict-aliasing -I/usr/local/include'
  ccversion='', gccversion='3.1', gccosandvers='solaris2.8'
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
  ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize
=8
  alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries​:
  ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib '
  libpth=/usr/local/lib /usr/lib /usr/ccs/lib
  libs=-lsocket -lnsl -lgdbm -ldl -lm -lc
  perllibs=-lsocket -lnsl -ldl -lm -lc
  libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
  cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

!NO!SUBS!

@p5pRT
Copy link
Author

p5pRT commented Jul 25, 2002

From @doughera88

On 24 Jul 2002, Jeannie K Priest Kellam wrote​:

# New Ticket Created by "Kellam, Jeannie K Priest"
# Please include the string​: [perl #15510]
# in the subject line of all future correspondence about this issue.
# <URL​: http​://rt.perl.org/rt2/Ticket/Display.html?id=15510 >

Hello,

I'm including the output from the myconfig script at the bottom of this message. Here's are the last few lines from make​:

     Making x2p stuff

make​: Warning​: Both `makefile' and `Makefile' exist
Current working directory /usr/local/src/perl-5.6.1/x2p
make​: Fatal error​: Don't know how to make target `<built-in>'
Current working directory /usr/local/src/perl-5.6.1/x2p
*** Error code 1
make​: Fatal error​: Command failed for target `translators'
[root@​primus perl-5.6.1]# cd ../../tar

I'm compiling with gcc-3.1 on a Sun 280R running Solaris 8. In order
to build gcc-3.1 I had to build binutils-2.12.

The problem is due to the 'make depend' process, which doesn't understand
gcc-3.1's output. Fortunately, the fix is easy. Just edit x2p/Makefile
and delete any lines with <built-in>. Then type 'make'.

Hope this helps,

  Andy Dougherty doughera@​lafayette.edu
  Dept. of Physics
  Lafayette College, Easton PA 18042

@p5pRT
Copy link
Author

p5pRT commented Jul 25, 2002

From jkellam@indiana.edu

Hopefully I'm following the correct procedure by replying to you... There are no lines in x2p/Makefile that contain <built-in>. Any other suggestions?

-----Original Message-----
From​: Andy Dougherty (via RT) [mailto​:perlbug@​perl.org]
Sent​: Thursday, July 25, 2002 8​:46 AM
To​: Kellam, Jeannie K Priest
Subject​: Re​: [perl #15510] make fails in x2p

On 24 Jul 2002, Jeannie K Priest Kellam wrote​:

# New Ticket Created by "Kellam, Jeannie K Priest"
# Please include the string​: [perl #15510]
# in the subject line of all future correspondence about this issue.
# <URL​: http​://rt.perl.org/rt2/Ticket/Display.html?id=15510 >

Hello,

I'm including the output from the myconfig script at the bottom of this message. Here's are the last few lines from make​:

     Making x2p stuff

make​: Warning​: Both `makefile' and `Makefile' exist
Current working directory /usr/local/src/perl-5.6.1/x2p
make​: Fatal error​: Don't know how to make target `<built-in>'
Current working directory /usr/local/src/perl-5.6.1/x2p
*** Error code 1
make​: Fatal error​: Command failed for target `translators'
[root@​primus perl-5.6.1]# cd ../../tar

I'm compiling with gcc-3.1 on a Sun 280R running Solaris 8. In order
to build gcc-3.1 I had to build binutils-2.12.

The problem is due to the 'make depend' process, which doesn't understand
gcc-3.1's output. Fortunately, the fix is easy. Just edit x2p/Makefile
and delete any lines with <built-in>. Then type 'make'.

Hope this helps,

  Andy Dougherty doughera@​lafayette.edu
  Dept. of Physics
  Lafayette College, Easton PA 18042

@p5pRT
Copy link
Author

p5pRT commented Dec 2, 2002

From @doughera88

This is fixed in 5.8.0. In the meantime, my reply to the original
poster is almost correct -- you have to edit x2p/makefile, not
x2p/Makefile.

@p5pRT
Copy link
Author

p5pRT commented Dec 2, 2002

@doughera88 - Status changed from 'new' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant