Eureka

I have found a solution, don't know whether it's 
good but at least perl seems to compile now.
I added -Ud_eaccess to the perl configure script.
I have no idea however what eaccess is about :)

Another bug came up however in expat-2.0.1: 
Expat.xs:12:19: error: expat.h: No such file or directory

$(call copy_file,$(expat)/libs/expat.h,fakeinclude/expat.h)
$(call copy_file,$(expat)/libs/expat_external.h,fakeinclude/expat_external.h)

should be changed to

$(call copy_file,$(expat)/lib/expat.h,fakeinclude/expat.h)
$(call copy_file,$(expat)/lib/expat_external.h,fakeinclude/expat_external.h)

NOW everything compiles, still have to test the bootcd though.
...
glibc=glibc-2.5
# Awful hack
#glibc-linuxthreads=$(strip $(patsubst glibc-%,glibc-linuxthreads-%,$(glibc)))
linux=linux-2.6.24.4
parted=parted-1.8.8
perl=perl-5.10.0
...
werner


At 10:40 4/04/2008, werner maes wrote:
>still I end up with
>
>cc  -o miniperl \
>              miniperlmain.o opmini.o libperl.a
>-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
>libperl.a(pp_sys.o): In function `Perl_pp_fteexec':
>pp_sys.c:(.text+0x6661): undefined reference to `eaccess'
>libperl.a(pp_sys.o): In function `Perl_pp_ftewrite':
>pp_sys.c:(.text+0x6771): undefined reference to `eaccess'
>libperl.a(pp_sys.o): In function `Perl_pp_fteread':
>pp_sys.c:(.text+0x6881): undefined reference to `eaccess'
>collect2: ld returned 1 exit status
>make[1]: *** [miniperl] Error 1
>make[1]: Leaving directory `/unattended/linuxboot/perl-5.8.8'
>make: *** [perl-5.8.8/perl] Error 2
>
>&
>
>cc  -o miniperl \
>              `echo   gv.o toke.o perly.o op.o
>pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o
>hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o
>pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o
>taint.o deb.o universal.o xsutils.o globals.o
>perlio.o perlapi.o numeric.o mathoms.o locale.o
>pp_pack.o pp_sort.o  | sed 's/ op.o / /'` \
>              miniperlmain.o opmini.o -lnsl -ldl
>-lm -lcrypt -lutil -lpthread -lc
>pp_sys.o: In function `Perl_pp_ftrread':
>pp_sys.c:(.text+0x5730): undefined reference to `eaccess'
>collect2: ld returned 1 exit status
>make[1]: *** [miniperl] Error 1
>make[1]: Leaving directory `/unattended/linuxboot/perl-5.10.0'
>make: *** [perl-5.10.0/perl] Error 2
>
>so everything comes down to this problem. This is
>on an etch machine. On Sarge I get this error only with perl-5.10.0.
>
>don't have a solution for this....
>
>werner
>
>At 09:28 4/04/2008, werner maes wrote:
> >well
> >I'll do some more testing.
> >switching from mawk to gawk resolves some issues. but I'm still building.
> >I also had to install g++ (the c++ compiler).
> >
> >I'll let you know.
> >
> >werner
> >
> >At 00:55 4/04/2008, Juan Jose Pablos wrote:
> > >werner maes escribió:
> > >>so it seems I have no luck with glibc-2.5 nor with glibc-2.3.6
> > >>bad luck
> > >
> > >ok, I think that it compile fine on my system, but I am ok with perl 5.8.8
> > >
> > >Should I change it back to previous version?
> > >
> > >I want to start heading to a new release...
> >
> >Mijn blog: http://wernermaes.wordpress.com
> >
> >
> >Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
> >
> >
> >-------------------------------------------------------------------------
> >Check out the new SourceForge.net Marketplace.
> >It's the best place to buy or sell services for
> >just about anything Open Source.
> >http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> >_______________________________________________
> >unattended-devel mailing list
> >unattended-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/unattended-devel
>
>Mijn blog: http://wernermaes.wordpress.com
>
>
>Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
>
>
>-------------------------------------------------------------------------
>Check out the new SourceForge.net Marketplace.
>It's the best place to buy or sell services for
>just about anything Open Source.
>http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>_______________________________________________
>unattended-devel mailing list
>unattended-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/unattended-devel

Mijn blog: http://wernermaes.wordpress.com 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to