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 <http://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
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib