ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Gutenprint 5.2.8 with LTIB


From: Stuart Hughes
Subject: Re: [Ltib] Gutenprint 5.2.8 with LTIB
Date: Tue, 24 Jan 2012 15:49:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Lightning/1.0b2 Thunderbird/3.1.16

Hi Andy,

Unless you keep questions on the list, I won't answer (and no one else can).

You need to look at configure, not the other automake scripts.  You should not need to run automake, you should use configure as-is.

grep -l BUILDCC /home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/*/*.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/asterisk/asterisk-cf.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/asterisk/asterisk.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/bash/bash.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/binutils/binutils.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/busybox/busybox-1.1.3.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/busybox/busybox.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/cpio/cpio.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/cpufrequtils/cpufrequtils.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/e2fsprogs/e2fsprogs.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/fontconfig/fontconfig.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/gdb/gdb-4.2.187.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/gdb/gdb-4.3-74.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/gdb/gdb-6.6.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/gdb/gdb.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/glibc/glibc-2.3.2.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/glibc/glibc.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/gmp/gmp.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/iproute/iproute.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/libedit/libedit.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/libgpg-error/libgpg-error.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/libXt/libXt.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/linux-atm/linux-atm.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/linux-wlan/linux-wlan.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/man/man.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/microwindows/microwindows-nommu.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/microwindows/microwindows.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/modutils/modutils.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/mpfr/mpfr.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/mplayer/mplayer.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/ncurses/ncurses.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/openswan/openswan-2.4.12.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/openswan/openswan.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/pcre/pcre.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/schedutils/schedutils.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/tc-wrapper/tc-wrapper.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/texinfo/texinfo.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/timezone/timezone.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot-tools/u-boot-tools.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.1.3-mpc8349eamds.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.1.3-mpc8349emds.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.1.3-mpc8349itx.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.1.3-mpc8360epb-rev2.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.1.3-mpc8360epb.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.1.6-mpc8360epb.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.2.0-mcf5445x.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.2.0-mpc5121ads.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.2.0-mpc8360epb-rev2.1.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.2.0-mpc8360epb-rev2.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.2.0.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3.0-mpc837xemds.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3.0-mpc837xerdb.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3.0-mpc8548cds.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3.0-mpc8641hpcn.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3.1-20080123.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3.2-m547x_8x.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3.2-mpc5121.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3.2.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3.3-mpc837xerdb.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-1.3-rc3-uClinux.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-2008.10-mpc5121.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-2009.03-rc1-mpc8536ds.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-2009.11-lpc31xx.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-8xx.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-fsl-mpc7448.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-fsl-pq3.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-mpc5200.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot-mpclite5200b.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/u-boot/u-boot.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/uclibc/uclibc-0.9.27.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/uclibc/uclibc-nommu.spec
/home/stuart/Personal/Src/sv_pristine/dist/lfs-5.1/uclibc/uclibc.spec

Regards, Stuart



On 24/01/12 12:39, Andy Yew wrote:
Dear Stuart

After looking at the makefile.am, there's no clue about hostcc and buildcc. However, in makefile.in, there's build_triplets and host_triplets, but i suppose it's generated from *.am via ./configure right?

If it's not cross-compiler aware, what could i modify to differentiate the hostcc and buildcc? Could you please give me some hints?

Besides, in LTIB exisitng packages, do you know which one has these hostcc and buildcc feature? I might be able to pick up some information from its makefile or even specfile....

Thanks,
Andy

On Mon, Jan 23, 2012 at 10:04 PM, Stuart Hughes <address@hidden> wrote:
Hi Andy,

You need to look in the Makefile(s) and see if they have anything to differentiate the build host from the target host.  Often this may be something like HOSTCC or BUILDCC.  Sometimes though there's nothing if the file is not tailored for cross compiling.

Regards, Stuart


On 22/01/12 18:05, Andy Yew wrote:
Hi all,

Has anyone successfully build/LTIB Gutenprint?

Here are the log file of "./ltib -m scbuild -p gutenprint.spec" and the .spec file i've generated from template.

It seems like there's slight problem running binary file within the building/making process. It's trying to run the binary and generate the xmli18n-tmp.h file in /src/xml folder.

Any idea to suppress this kind of problem where make process involves running binary programs to generate data??

Here's the snapshot of the last few lines showing making error:
######################################################################################################
make[5]: Entering directory `/home/hongjet-vm1/ltib/rpm/BUILD/gutenprint-5.2.8/src/xml/escp2'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/hongjet-vm1/ltib/rpm/BUILD/gutenprint-5.2.8/src/xml/escp2'
make[4]: Leaving directory `/home/hongjet-vm1/ltib/rpm/BUILD/gutenprint-5.2.8/src/xml/escp2'
make[4]: Entering directory `/home/hongjet-vm1/ltib/rpm/BUILD/gutenprint-5.2.8/src/xml'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include  -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072   -Disfinite=finite  -O6 -MT extract-strings.o -MD -MP -MF .deps/extract-strings.Tpo -c -o extract-strings.o extract-strings.c
mv -f .deps/extract-strings.Tpo .deps/extract-strings.Po
/bin/bash ../../libtool --tag=CC   --mode=link gcc  -Disfinite=finite  -O6   -o extract-strings extract-strings.o ../../src/main/libgutenprint.la 
libtool: link: gcc -Disfinite=finite -O6 -o .libs/extract-strings extract-strings.o  ../../src/main/.libs/libgutenprint.so -lm
rm -f xmli18n-tmp.h xmli18n-tmp.h.tmp
./extract-strings `cat xml-stamp | sed -e 's;^;./;'` > xmli18n-tmp.h.tmp
make[4]: Leaving directory `/home/hongjet-vm1/ltib/rpm/BUILD/gutenprint-5.2.8/src/xml'
make[3]: Leaving directory `/home/hongjet-vm1/ltib/rpm/BUILD/gutenprint-5.2.8/src/xml'
make[2]: Leaving directory `/home/hongjet-vm1/ltib/rpm/BUILD/gutenprint-5.2.8/src'
make[1]: Leaving directory `/home/hongjet-vm1/ltib/rpm/BUILD/gutenprint-5.2.8'

RPM build errors:
Build time for gutenprint: 41 seconds
######################################################################################################

Regards
Andy

_______________________________________________ LTIB home page: http://ltib.org Ltib mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/ltib




reply via email to

[Prev in Thread] Current Thread [Next in Thread]