Subject: Re: Building openoffice2 on amd64
To: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 12/24/2007 06:18:09
On Mon, 24 Dec 2007, Kouichirou Hiratsuka wrote:
> I've fixed libXinerama. On NetBSD/amd64 the package still cannot be
> compiled with gcc-4. Please try:
>
> # cd /usr/src/gnu/lib/libsupc++4
> # make CFLAGS+="-fPIC" && make install
> # cd /usr/pkgsrc/misc/openoffice2 && make
I had to make clean in libsupc++4 before it would make anything more, so
I used the following command:
/usr/obj/tooldir/x86_64/amd64/bin/nbmake-amd64 CFLAGS+="-fPIC" \
cleandir dependall install
It completed successfully, as far as I can tell.
Then I tried to update libXinerama (since you said you'd fixed it) and
got the following:
checking whether the f77 linker
(/usr/pkgsrc/x11/libXinerama/work.x86_64/.wrapper/bin/ld) supports
shared libraries... ERROR: To use this compiler, you have to add fortran
to
ERROR: USE_LANGUAGES in the package Makefile.
yes
checking dynamic linker characteristics... ERROR: To use this compiler,
you have to add fortran to
ERROR: USE_LANGUAGES in the package Makefile.
ERROR: To use this compiler, you have to add fortran to
ERROR: USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking pkg-config is at least version 0.9.0... yes
checking for XINERAMA... configure: error: Package requirements (x11
xext xextproto xineramaproto) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the XINERAMA_CFLAGS and XINERAMA_LIBS
environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/libXinerama
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package
Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the
package Makefile.
----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul@whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------