public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Openoffice 1.0.0-r2 and gcc-3.2
@ 2002-08-23  3:57 Prashanth Aditya Susarla
  0 siblings, 0 replies; 3+ messages in thread
From: Prashanth Aditya Susarla @ 2002-08-23  3:57 UTC (permalink / raw
  To: gentoo-dev

On a machine on which the 1.4 tarball was used for a clean install of a 
gcc-3.2 based Gentoo system, both openoffice-1.0.0-r2 and 
vmware-workstation-3.1.1-1790 fail to compile/execute their scripts 
(respectively) because with gcc-3.2, gcc --version doesn't report a simple 
number (such as 2.95.3) but a whole lot of stuff more.
Is there any fix available for this (other than modifying the configure 
scripts)?

Regards,
Prashanth Aditya Susarla 

-----------------------------------------------------------------------------
Computers are like air conditioners. They stop working once you open windows.
-----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Openoffice 1.0.0-r2 and gcc-3.2
@ 2002-08-23  4:33 Thomas Beaudry
  2002-08-24 12:14 ` Prashanth Aditya Susarla
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Beaudry @ 2002-08-23  4:33 UTC (permalink / raw
  To: aditya, gentoo-dev

create a shell script that returns whatever makes them happy
when given --version and just passes the call on through to
the real gcc otherwise


>From: Prashanth Aditya Susarla <aditya@iitk.ac.in>
>To: gentoo-dev@gentoo.org
>Subject: [gentoo-dev] Openoffice 1.0.0-r2 and gcc-3.2
>Date: Fri, 23 Aug 2002 09:27:14 +0530 (IST)
>
>On a machine on which the 1.4 tarball was used for a clean install of a
>gcc-3.2 based Gentoo system, both openoffice-1.0.0-r2 and
>vmware-workstation-3.1.1-1790 fail to compile/execute their scripts
>(respectively) because with gcc-3.2, gcc --version doesn't report a simple
>number (such as 2.95.3) but a whole lot of stuff more.
>Is there any fix available for this (other than modifying the configure
>scripts)?
>
>Regards,
>Prashanth Aditya Susarla
>
>-----------------------------------------------------------------------------
>Computers are like air conditioners. They stop working once you open 
>windows.
>-----------------------------------------------------------------------------
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@gentoo.org
>http://lists.gentoo.org/mailman/listinfo/gentoo-dev




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Openoffice 1.0.0-r2 and gcc-3.2
  2002-08-23  4:33 Thomas Beaudry
@ 2002-08-24 12:14 ` Prashanth Aditya Susarla
  0 siblings, 0 replies; 3+ messages in thread
From: Prashanth Aditya Susarla @ 2002-08-24 12:14 UTC (permalink / raw
  To: gentoo-dev

After doing that, I can get past the configure stage. But a similar 
problem (in that, related to the compiler version) crops up later with the 
following errors:-

=================================================================================
+ gcc -O -o dmake objects/infer.o objects/make.o objects/stat.o 
objects/expand.o objects/dmstring.o objects/hash.o objects/dag.o 
objects/dmake.o objects/path.o objects/imacs.o objects/sysintf.o 
objects/parse.o objects/getinp.o objects/quit.o objects/state.o 
objects/dmdump.o objects/macparse.o objects/rulparse.o objects/percent.o 
objects/function.o objects/arlib.o objects/dirbrk.o objects/rmprq.o 
objects/ruletab.o objects/runargv.o objects/dcache.o
objects/sysintf.o: In function `Get_temp':
objects/sysintf.o(.text+0x634): the use of `tempnam' is dangerous, better 
use `mkstemp'
+ cp unix/linux/gnu/template.mk startup/config.mk
build -- version: 1.41
/usr/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/external/psprint/ppds
mkout -- version: 1.3
------------------------------
Making: ../../unxlngi4.pro/misc/unxfontsxp3ppds.dpz
zipdep -u -j ../../unxlngi4.pro/bin/fontunxppds.zip  *   -x   makefile.*  
>> ../../unxlngi4.pro/misc/unxfontsxp3ppds.ppds.fontunxppds.dpzz
zipdep: Command not found.
++++++++++++++++++++++++++++++++++++
ERROR!
Could not detect compiler version!
Please extend tg_compv.mk in
solenv/inc.
++++++++++++++++++++++++++++++++++++
c++ -dumpversion returns
3.2
++++++++++++++++++++++++++++++++++++
dmake:  Error code 255, while making 'compiler_version_error'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making 
/usr/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/external/psprint/ppds
 * Scanning for a open DISPLAY to start Xvfb...
 * Starting Xvfb on $DISPLAY=1 ...
build -- version: 1.41

=============
Building project freetype
=============
/usr/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/freetype
mkout -- version: 1.3
++++++++++++++++++++++++++++++++++++
ERROR!
Could not detect compiler version!
Please extend tg_compv.mk in
solenv/inc.
++++++++++++++++++++++++++++++++++++
c++ -dumpversion returns
3.2
++++++++++++++++++++++++++++++++++++
dmake:  Error code 255, while making 'compiler_version_error'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making 
/usr/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/freetype
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 239, Exitcode 255
!!! Build failed!

!!! emerge aborting on  
/usr/portage/app-office/openoffice/openoffice-1.0.0-r2.ebuild .
==================================================================================

I checked out the tg_compv.mk file in ${S}/solenv/inc and it seemed to 
handle things gracefully, calling -dumpversion if the compiler command is 
'gcc' and so on. So what could possibly be the problem?

Regards,
Prashanth Aditya Susarla

On Fri, 23 Aug 2002, Thomas Beaudry wrote:

> create a shell script that returns whatever makes them happy
> when given --version and just passes the call on through to
> the real gcc otherwise


-----------------------------------------------------------------------------
Computers are like air conditioners. They stop working once you open windows.
-----------------------------------------------------------------------------





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-24 12:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-23  3:57 [gentoo-dev] Openoffice 1.0.0-r2 and gcc-3.2 Prashanth Aditya Susarla
  -- strict thread matches above, loose matches on Subject: below --
2002-08-23  4:33 Thomas Beaudry
2002-08-24 12:14 ` Prashanth Aditya Susarla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox