1 |
After doing that, I can get past the configure stage. But a similar |
2 |
problem (in that, related to the compiler version) crops up later with the |
3 |
following errors:- |
4 |
|
5 |
================================================================================= |
6 |
+ gcc -O -o dmake objects/infer.o objects/make.o objects/stat.o |
7 |
objects/expand.o objects/dmstring.o objects/hash.o objects/dag.o |
8 |
objects/dmake.o objects/path.o objects/imacs.o objects/sysintf.o |
9 |
objects/parse.o objects/getinp.o objects/quit.o objects/state.o |
10 |
objects/dmdump.o objects/macparse.o objects/rulparse.o objects/percent.o |
11 |
objects/function.o objects/arlib.o objects/dirbrk.o objects/rmprq.o |
12 |
objects/ruletab.o objects/runargv.o objects/dcache.o |
13 |
objects/sysintf.o: In function `Get_temp': |
14 |
objects/sysintf.o(.text+0x634): the use of `tempnam' is dangerous, better |
15 |
use `mkstemp' |
16 |
+ cp unix/linux/gnu/template.mk startup/config.mk |
17 |
build -- version: 1.41 |
18 |
/usr/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/external/psprint/ppds |
19 |
mkout -- version: 1.3 |
20 |
------------------------------ |
21 |
Making: ../../unxlngi4.pro/misc/unxfontsxp3ppds.dpz |
22 |
zipdep -u -j ../../unxlngi4.pro/bin/fontunxppds.zip * -x makefile.* |
23 |
>> ../../unxlngi4.pro/misc/unxfontsxp3ppds.ppds.fontunxppds.dpzz |
24 |
zipdep: Command not found. |
25 |
++++++++++++++++++++++++++++++++++++ |
26 |
ERROR! |
27 |
Could not detect compiler version! |
28 |
Please extend tg_compv.mk in |
29 |
solenv/inc. |
30 |
++++++++++++++++++++++++++++++++++++ |
31 |
c++ -dumpversion returns |
32 |
3.2 |
33 |
++++++++++++++++++++++++++++++++++++ |
34 |
dmake: Error code 255, while making 'compiler_version_error' |
35 |
---* TG_SLO.MK *--- |
36 |
|
37 |
ERROR: Error 65280 occurred while making |
38 |
/usr/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/external/psprint/ppds |
39 |
* Scanning for a open DISPLAY to start Xvfb... |
40 |
* Starting Xvfb on $DISPLAY=1 ... |
41 |
build -- version: 1.41 |
42 |
|
43 |
============= |
44 |
Building project freetype |
45 |
============= |
46 |
/usr/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/freetype |
47 |
mkout -- version: 1.3 |
48 |
++++++++++++++++++++++++++++++++++++ |
49 |
ERROR! |
50 |
Could not detect compiler version! |
51 |
Please extend tg_compv.mk in |
52 |
solenv/inc. |
53 |
++++++++++++++++++++++++++++++++++++ |
54 |
c++ -dumpversion returns |
55 |
3.2 |
56 |
++++++++++++++++++++++++++++++++++++ |
57 |
dmake: Error code 255, while making 'compiler_version_error' |
58 |
---* TG_SLO.MK *--- |
59 |
|
60 |
ERROR: Error 65280 occurred while making |
61 |
/usr/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/freetype |
62 |
dmake: Error code 1, while making 'build_all' |
63 |
---* TG_SLO.MK *--- |
64 |
|
65 |
!!! ERROR: The ebuild did not complete successfully. |
66 |
!!! Function src_compile, Line 239, Exitcode 255 |
67 |
!!! Build failed! |
68 |
|
69 |
!!! emerge aborting on |
70 |
/usr/portage/app-office/openoffice/openoffice-1.0.0-r2.ebuild . |
71 |
================================================================================== |
72 |
|
73 |
I checked out the tg_compv.mk file in ${S}/solenv/inc and it seemed to |
74 |
handle things gracefully, calling -dumpversion if the compiler command is |
75 |
'gcc' and so on. So what could possibly be the problem? |
76 |
|
77 |
Regards, |
78 |
Prashanth Aditya Susarla |
79 |
|
80 |
On Fri, 23 Aug 2002, Thomas Beaudry wrote: |
81 |
|
82 |
> create a shell script that returns whatever makes them happy |
83 |
> when given --version and just passes the call on through to |
84 |
> the real gcc otherwise |
85 |
|
86 |
|
87 |
----------------------------------------------------------------------------- |
88 |
Computers are like air conditioners. They stop working once you open windows. |
89 |
----------------------------------------------------------------------------- |