[tlbuild] building on Solaris 11
Apostolos Syropoulos
asyropoulos at gmail.com
Thu Mar 20 19:24:57 CET 2014
2014-03-20 11:53 GMT+02:00 Peter Breitenlohner <peb at mppmu.mpg.de>:
>
> the @TL without braces is now fixed by Karl Berry. But makeinfo should
> never be invoked unless there is something wron with your timestamps,
> i.e., when texlive.info is older than any of its dependencies.
>
Thank you Karl and Peter for solving this, Now, compilation stops as
follows:
g++64 -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_ENABLE_DYLOAD=0 -DU_HAVE_ATOMIC=1
-I/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common
"-DDEFAULT_ICU_PLUGINS=\"/usr/local/lib/icu\" " -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION -O2 --std=c++0x -c -o
charstr.ao/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/charstr.cpp
g++64 -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_ENABLE_DYLOAD=0 -DU_HAVE_ATOMIC=1
-I/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common
"-DDEFAULT_ICU_PLUGINS=\"/usr/local/lib/icu\" " -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION -O2 --std=c++0x -c -o
udata.ao/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/udata.cpp
gcc64 -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_ENABLE_DYLOAD=0 -DU_HAVE_ATOMIC=1
-I/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common
"-DDEFAULT_ICU_PLUGINS=\"/usr/local/lib/icu\" " -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION -O2 -c -o
ucmndata.ao/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/ucmndata.c
gcc64 -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_ENABLE_DYLOAD=0 -DU_HAVE_ATOMIC=1
-I/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common
"-DDEFAULT_ICU_PLUGINS=\"/usr/local/lib/icu\" " -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION -O2 -c -o
udatamem.ao/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/udatamem.c
gcc64 -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_ENABLE_DYLOAD=0 -DU_HAVE_ATOMIC=1
-I/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common
"-DDEFAULT_ICU_PLUGINS=\"/usr/local/lib/icu\" " -DU_ATTRIBUTE_DEPRECATED=
-DU_COMMON_IMPLEMENTATION -O2 -c -o
umapfile.ao/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/umapfile.c
In file included from /usr/include/inttypes.h:41:0,
from
/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/unicode/ptypes.h:80,
from
/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/unicode/umachine.h:44,
from
/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/unicode/utypes.h:36,
from
/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/unicode/putil.h:27,
from
/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/common/umapfile.c:22:
/usr/lib/gcc/i386-pc-solaris2.11/4.8.2/include-fixed/sys/feature_tests.h:366:2:
σφάλμα: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001
applications require the use of c99"
#error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications
\
^
/container/TeX/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/config/mh-solaris-gcc:44:
recipe for target 'umapfile.ao' failed
make[6]: *** [umapfile.ao] Error 1
make[6]: Leaving directory
'/container/TeX/source/Work/libs/icu/icu-build/common'
Makefile:141: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 2
make[5]: Leaving directory '/container/TeX/source/Work/libs/icu/icu-build'
Makefile:1302: recipe for target 'icubuild' failed
make[4]: *** [icubuild] Error 2
make[4]: Leaving directory '/container/TeX/source/Work/libs/icu'
Makefile:691: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/container/TeX/source/Work/libs/icu'
Makefile:876: recipe for target 'recurse' failed
make[2]: *** [recurse] Error 1
make[2]: Leaving directory '/container/TeX/source/Work/libs'
Makefile:456: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/container/TeX/source/Work/libs'
Makefile:543: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
+ echo 2
+ 1> exitstatus.txt
done (exit status 2) Πέμπτη, 20 Μαρτίου 2014 08:04:05 μ.μ. EET
Note that I am building 64bit binaries and I am using gcc version 4.8.2
In file Work/libs/icu/icu-build/icudefs.mk
I see the following
CFLAGS = -O2 $(THREADSCFLAGS)
# CXXFLAGS is for C++ only flags
CXXFLAGS = -O2 --std=c++0x $(THREADSCXXFLAGS)
but I guess the first line should be
CFLAGS = -O2 --std=c99 $(THREADSCFLAGS)
And if I make this change and enter make inside Work/libs/icu/icu-build
compilation proceeds and finishes
with no problem. So the question is how can we introduce this switch?
Best regards,
Apostolos
--
Apostolos Syropoulos
Xanthi, GREECE
<http://hypercomputation.blogspot.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20140320/50a9d5b5/attachment.html>
More information about the tlbuild
mailing list