Hello Ralf,
many thanks for this one;
2007-05-20: rse: fix building Perl under GCC 4.2 world order
rse: fix building Perl under GCC 4.2 world order
it build fine on a Centos 3.4, but still fails (with a brand
new error on an FC2 .. The error seems related to db/dbm, as you can
see below;
(...)
+ echo FlexLexer.h _G_config.h a.out.h aio.h aliases.h alloca.h ansidecl.h
apm.h ar.h argp.h argz.h assert.h bfd.h bfdlink.h byteswap.h complex.h
cpio.h crack.h crypt.h ctype.h curses.h cxx_common.h cxx_except.h db.h
db_185.h db_cxx.h dirent.h dis-asm.h dlfcn.h elf.h endian.h envz.h err.h
errno.h error.h eti.h execinfo.h fcntl.h features.h fenv.h fmtmsg.h
fnmatch.h form.h fpu_control.h fstab.h fts.h ftw.h gconv.h getopt.h glob.h
gnu-versions.h grp.h iconv.h ieee754.h ifaddrs.h inttypes.h langinfo.h
lastlog.h libdevmapper.h libgen.h libiberty.h libintl.h libio.h
libsmbclient.h limits.h link.h locale.h magic.h malloc.h math.h mcheck.h
memory.h menu.h mntent.h monetary.h mqueue.h ncurses.h netdb.h nl_types.h
nss.h obstack.h packer.h panel.h paths.h pcap-bpf.h pcap-namedb.h pcap.h
poll.h popt.h printf.h pthread.h pty.h pwd.h re_comp.h regex.h regexp.h
resolv.h sched.h search.h semaphore.h setjmp.h sgtty.h shadow.h signal.h
spawn.h stab.h stdint.h stdio.h stdio_ext.h stdlib.h string.h strings.h
stropts.h symcat.h syscall.h sysexits.h syslog.h tar.h tcpd.h term.h
termio.h termios.h tgmath.h thread_db.h time.h ttyent.h ucontext.h
ulimit.h unctrl.h unistd.h ustat.h utempter.h utime.h utmp.h utmpx.h
values.h wait.h wchar.h wctype.h wordexp.h xlocale.h sys/acct.h
sys/bitypes.h sys/cdefs.h sys/debugreg.h sys/dir.h sys/elf.h sys/epoll.h
sys/errno.h sys/fcntl.h sys/file.h sys/fsuid.h sys/gmon.h sys/gmon_out.h
sys/io.h sys/ioctl.h sys/ipc.h sys/kd.h sys/kdaemon.h sys/klog.h
sys/mman.h sys/mount.h sys/msg.h sys/mtio.h sys/param.h sys/pci.h
sys/perm.h sys/personality.h sys/poll.h sys/prctl.h sys/procfs.h
sys/profil.h sys/ptrace.h sys/queue.h sys/quota.h sys/raw.h sys/reboot.h
sys/reg.h sys/resource.h sys/select.h sys/sem.h sys/sendfile.h sys/shm.h
sys/signal.h sys/socket.h sys/socketvar.h sys/soundcard.h sys/stat.h
sys/statfs.h sys/statvfs.h sys/stropts.h sys/swap.h sys/syscall.h
sys/sysctl.h sys/sysinfo.h sys/syslog.h sys/sysmacros.h sys/termios.h
sys/time.h sys/timeb.h sys/times.h sys/timex.h sys/ttychars.h
sys/ttydefaults.h sys/types.h sys/ucontext.h sys/uio.h sys/ultrasound.h
sys/un.h sys/unistd.h sys/user.h sys/ustat.h sys/utsname.h sys/vfs.h
sys/vlimit.h sys/vm86.h sys/vt.h sys/vtimes.h sys/wait.h sys/xattr.h
+ xargs /openpkg/RPM/TMP/perl-5.8.8-root/openpkg/bin/perl
/openpkg/RPM/TMP/perl-5.8.8-root/openpkg/bin/h2ph -h -d
/openpkg/RPM/TMP/perl-5.8.8-root/openpkg/lib/perl/5.8.8/i686-linux
Can't open cxx_common.h: No such file or directory
Can't open cxx_except.h: No such file or directory
+ exit 123
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.73866 (%install)
Bad exit status from /openpkg/RPM/TMP/rpm-tmp.73866 (%install)
[EMAIL PROTECTED] root]# rpm -qa | grep db
gdbm-1.8.0-22.1
db4-4.2.52-3.1
db4-devel-4.2.52-3.1
[EMAIL PROTECTED] root]# openpkg rpm -qa | grep db
[EMAIL PROTECTED] root]# cat /etc/redhat-release
Fedora Core release 2 (Tettnang)
On the system that is compiling fine, I have both db and gdbm
binary and devel packages, on the one that is not working, I don't have
gdbm devel.
Maybe this can be the source of the problem ? BTW, I noted
the following error;
<db.h> found.
*** WHOA THERE!!! ***
The recommended value for $i_db on this machine was "undef"!
Keep the recommended value? [y]
If I'm able to do so, I'll try to fetch gdbm-devel for FC2 .. Or should I
try to add -Ui_dbm to the spec file ?
BTW, Is there a way to add -Ui_dbm in the build process when using
openpkg build ... ?
Olivier Kaloudoff
On Thu, 17 May 2007, Olivier Kaloudoff wrote:
Hmmm. really strange, make complains that he does not know how to build
miniperlmain.o, but it's already been built ..
[EMAIL PROTECTED] perl-5.8.8.test]# ls -l miniperlmain.o
-rw-r--r-- 1 root root 1544 May 17 17:55 miniperlmain.o
[EMAIL PROTECTED] perl-5.8.8.test]# make
make: *** No rule to make target `<command-line>', needed by `miniperlmain.o'.
Stop.
GNU make chapter 16 says:
`No rule to make target `xxx', needed by `yyy'.'
This means that make decided it needed to build a target, but then
couldn't find any instructions in the makefile on how to do that, either
explicit or implicit (including in the default rules database).
If you want that file to be built, you will need to add a rule to your
makefile describing how that target can be built. Other possible sources of
this problem are typos in the makefile (if that filename is wrong) or a
corrupted source tree (if that file is not supposed to be built, but rather
only a prerequisite).
Now really puzzled about which problem we have .. corrupted source tree,
what does this mean ? any help greatly apreciated :-)
Olivier Kaloudoff
On Thu, 17 May 2007, Olivier Kaloudoff wrote:
Hello List !
trying to build bind on current / FC2 fails at building perl 5.8.8 ..
don't know if the package is in cause of the problem or my personnal openpkg
setup, as I just upgraded from an earlier openpkg release with
openpkg build openpkg | sh (did not find any other solution, but this one
is rather nice :-) )
I'm sorry I did not take time to investigate on the problem yet.
Here is the build log if someone want to look at it;
http://pastebin.ca/493015
Olivier Kaloudoff
Saint Raphael
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org