something's broken....

I installed it with your FLAVOR and then went to
/usr/ports/editors/openoffice3 and... look below

I think I will wait for the gcc4.2 binary and then try again. I want
to compile openoffice on my own because i hope to get some speeding up
factor... probably I could get it by compiling rather than installing
the binary from an ftp srver...

Cheers,

Pau

hux# make install
===>  Checking files for openoffice-3.0.1
`/usr/ports/distfiles/openoffice/ooo-desktop-0.1.tar.gz' is up to date.
`/usr/ports/distfiles/openoffice/OOo_3.0.1_src_binfilter.tar.bz2' is up to date.
`/usr/ports/distfiles/openoffice/OOo_3.0.1_src_core.tar.bz2' is up to date.
`/usr/ports/distfiles/openoffice/OOo_3.0.1_src_extensions.tar.bz2' is
up to date.
`/usr/ports/distfiles/openoffice/OOo_3.0.1_src_l10n.tar.bz2' is up to date.
`/usr/ports/distfiles/openoffice/OOo_3.0.1_src_system.tar.bz2' is up to date.
>> (SHA256) openoffice/ooo-desktop-0.1.tar.gz: OK
>> (SHA256) openoffice/OOo_3.0.1_src_binfilter.tar.bz2: OK
>> (SHA256) openoffice/OOo_3.0.1_src_core.tar.bz2: OK
>> (SHA256) openoffice/OOo_3.0.1_src_extensions.tar.bz2: OK
>> (SHA256) openoffice/OOo_3.0.1_src_l10n.tar.bz2: OK
>> (SHA256) openoffice/OOo_3.0.1_src_system.tar.bz2: OK
===>  openoffice-3.0.1p2 depends on: gcc-* - found
===>  openoffice-3.0.1p2 depends on: g++-* - not found
===>  Verifying install for g++-* in lang/gcc/4.2
===>  Checking files for gcc-4.2.20070307
`/usr/ports/distfiles/gcc/gcc-4.2-20070307.tar.bz2' is up to date.
`/usr/ports/distfiles/gcc/adastrap-i386-3.3.6-5.tgz' is up to date.
>> (SHA256) gcc/gcc-4.2-20070307.tar.bz2: OK
>> (SHA256) gcc/adastrap-i386-3.3.6-5.tgz: OK
===>  g++-4.2.20070307p9 depends on: autoconf-2.59 - found
===>  g++-4.2.20070307p9 depends on: metaauto-* - found
===>  g++-4.2.20070307p9 depends on: bison-* - found
===>  g++-4.2.20070307p9 depends on: gmake-* - found
===>  g++-4.2.20070307p9 depends on: libtool-* - found
===>  g++-4.2.20070307p9 depends on: bzip2-* - found
===>  g++-4.2.20070307p9 depends on: gmp->=4.2 - found
===>  g++-4.2.20070307p9 depends on: mpfr-* - found
===>  Verifying specs: gmp mpfr c c c c m c c c
===>  found gmp.7.1 mpfr.0.2 c.50.1 m.5.0
===>  Extracting for gcc-4.2.20070307
echo "#! /bin/sh" >/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
echo 'GNAT_ROOT=/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap
GCC_ROOT=/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap exec
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap/bin/egcc "$@"'
>>/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
chmod a+x /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
echo "#! /bin/sh" >/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/gnatbind
echo 'GNAT_ROOT=/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap
GCC_ROOT=/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap exec
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap/bin/gnatbind
"$@"' >>/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/gnatbind
chmod a+x /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/gnatbind
echo "#! /bin/sh" >/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/gnatmake
echo 'GNAT_ROOT=/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap
GCC_ROOT=/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap exec
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap/bin/gnatmake
"$@"' >>/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/gnatmake
chmod a+x /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/gnatmake
echo "#! /bin/sh" >/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/gnatlink
echo 'GNAT_ROOT=/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap
GCC_ROOT=/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap exec
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bootstrap/bin/gnatlink
"$@"' >>/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/gnatlink
chmod a+x /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/gnatlink
ln -s /usr/bin/nm /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/enm
echo "# This file automatically generated" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
echo "LIBestdc++_LTVERSION = -version-info 8:0" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
echo "LIBgfortran_LTVERSION = -version-info 2:0" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
echo "LIB-org-w3c-dom_LTVERSION = -version-info 1:0" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
echo "LIB-org-xml-sax_LTVERSION = -version-info 1:0" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
echo "LIBgcj_LTVERSION = -version-info 5:0" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
echo "LIBobjc_LTVERSION = -version-info 2:0" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
echo "LIBobjc_gc_LTVERSION = -version-info 2:0" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
echo "LIBssp_LTVERSION = -version-info 0:0" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
echo "LIBgomp_LTVERSION = -version-info 1:0" >>
/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libversions
===>  Patching for gcc-4.2.20070307
cd /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libstdc++-v3
&& AUTOCONF_VERSION=2.59 autoconf
===>  Configuring for gcc-4.2.20070307
loading site script /usr/ports/infrastructure/db/config.site
creating cache ./config.cache
checking host system type... i386-unknown-openbsd4.5
checking target system type... i386-unknown-openbsd4.5
checking build system type... i386-unknown-openbsd4.5
checking for a BSD compatible install... /usr/bin/install -c -o root -g bin
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
checking whether the C compiler
(/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc -O2 -g ) works...
no
configure: error: installation or configuration problem: C compiler
cannot create executables.
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 2147 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1427 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1967 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1457 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/editors/openoffice3 (line 1604 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/editors/openoffice3 (line 2001 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/editors/openoffice3 (line 1427 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/editors/openoffice3 (line 1967 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/editors/openoffice3 (line 1457 of
/usr/ports/infrastructure/mk/bsd.port.mk).



2009/4/26 Pau <[email protected]>:
> Hello,
>
>> $ cd /usr/ports/lang/gcc/4.2
>> $ FLAVOR="c++ fortran objc" make
>
> thanks, it's compiling now... But... what is that supposed to do,
> compared to simply "make"? Can you please elaborate a bit? What kind
> (flavour) of gcc42 will I be "left with"? Remind that this is
> "newbies" and not misc (this was the reason for posting here, because
> I assumed there would be too many basic things to ask), and even if I
> have been using openbsd for everything for three years already, there
> are many things I still do not understand. "I am not a technician", I
> am a Physicist, but I do not put this forward as a (ridiculous)
> argument, I want to know and understand.
>
> As for your other statements: I have already built openoffice 2.4.2
> from ports from scratch, including java etc... It's good that I made a
> 20G (!) /usr partition, because openoffice 2.4.2 took something like
> 70% of it when building. Not bad. The compilation took some 8 hours,
> yes.
> Why do I need openoffice3, then, if I compiled successfully 2.4.2? I
> found that it was buggy. Some pop-up menus were unclickeable (I
> apologise for the barbarism.
>
> Best,
>
> Pau
>
> 2009/4/26 Stuart Henderson <[email protected]>:
>> On 2009-04-25, Antoine Jacoutot <[email protected]> wrote:
>>> On Sat, 25 Apr 2009, Pau wrote:
>>>
>>>> Hello,
>>>>
>>>> I tried to compile openoffice3 from ports in 4.5 after a fresh install
>>>> from the CDs. It gave me the following problem:
>>>>
>>>> > ===>  Patching for gcc-4.2.20070307
>>>> > cd 
>>>> > /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libstdc++-v3
>>>> > && AUTOCONF_VERSION=2.59 autoconf
>>>> > ===>  Configuring for gcc-4.2.20070307
>>>> > loading site script /usr/ports/infrastructure/db/config.site
>>>> > creating cache ./config.cache
>>>> > checking host system type... i386-unknown-openbsd4.5
>>>> > checking target system type... i386-unknown-openbsd4.5
>>>> > checking build system type... i386-unknown-openbsd4.5
>>>> > checking for a BSD compatible install... /usr/bin/install -c -o root -g 
>>>> > bin
>>>> > checking whether ln works... yes
>>>> > checking whether ln -s works... yes
>>>> > checking for gcc... /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
>>>> > checking whether the C compiler
>>>> > (/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc -O2 -g ) works...
>>>> > no
>>>> > configure: error: installation or configuration problem: C compiler
>>>> > cannot create executables.
>>>>
>>>> I asked in ports@ and got the following answer:
>>>>
>>>> "You need /usr/lib/libc.so.42.0
>>>> Of course, the doc says that you should use a package..."
>>>
>>> You either need to get and install /usr/lib/libc.so.42.0 from a previous
>>> OpenBSD version because this lib was used to bootstrap ada.
>>> Or, you can wait for 4.5 to came out and install gcc4 from package.
>>>
>>>
>>
>> openoffice3 is *huge*. it will probably take more than 12 hours to
>> build, very much more if you don't have enough ram or have a slow cpu.
>> that is on top of gcc 4.2, the JDK and other dependencies.
>> it's definitely recommended to use the packages for this one if
>> you possibly can.
>>
>> that said, and note that I haven't tested this, but you should be
>> able to build gcc 4.2 like this:
>>
>> $ cd /usr/ports/lang/gcc/4.2
>> $ FLAVOR="c++ fortran objc" make
>>
>> this is the default on cpu architectures other than i386 anyway so,
>> for example, if you're trying to build on amd64 you won't run into
>> this problem in the first place.
>>
>> you will also need to adjust the amount of memory that a process is
>> permitted to use by adjusting the resource limits in login.conf.
>> increase datasize-max for the class your login account uses, and
>> either bump it up using "ulimit -d <number of K>", or by increasing
>> datasize-cur as well. you will need to logout and log back in for
>> this change to take effect. (if you're building ports as root,
>> first look at the various ports tutorials and learn about setting
>> SUDO in /etc/mk.conf, and if you still want to build as root,
>> you need to adjust the login.conf entry for the class "daemon"
>> which is also used for software run from /etc/rc.local).
>>
>>
>> _______________________________________________
>> Openbsd-newbies mailing list
>> [email protected]
>> http://mailman.theapt.org/listinfo/openbsd-newbies
>>
>
>
>
> --
> Let there be peace on earth. And let it begin with misc
>



-- 
Let there be peace on earth. And let it begin with misc
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to