Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recen t -CURRENT when trying to build ports/x11/XFree86-4
On Thu, Jul 11, 2002 at 03:42:49PM -0600, Eric Anholt wrote: perl installation. Shouldn't USE_PERL5 depend on ${LOCALBASE}/bin/perl on -current rather than just the existence of a binary called perl in the path? Assuming the perl wrapper returns different errorcodes if it finds a working perl or not, I guess USE_PERL5 could call for instance /usr/bin/perl -w and act accordingly, i.e. install perl if the wrapper fails. Bye, Andrea To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
RE: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecent -CURRENT when trying to build ports/x11/XFree86-4
Dear Matthew That is because cc is used for linking instead of c++, go to the Makefile in glxinfo and change the line, with LINKFORTARGET or LINKER (don't have the makefile any more, so look for the actual line) from $CC to $CPP and there you go. Regards erdgeist On Thu, 11 Jul 2002, Thyer, Matthew wrote: Thanks Dirk but I cant install ports/x11/XFree86-4-clients either! Errors below a gcc 3.1 ism maybe ? LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo -ansi -pedantic -Dasm=__asm ^^ this is wrong becaue lGLU is a CPP lib -Wall -Wpointer-arith -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -L/usr/X11R6/lib -lc_r -lm -Wl,-rpath,/usr/X11R6/lib - fnord! id 0x17B701E5 size 1024 | type rsa 11F8 8FF3 0508 09F9 DC6A 2AB3 AA67 C8CF To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecent -CURRENT when trying to build ports/x11/XFree86-4
I've got the same problem here but I found no Makefile for glxinfo just an Imakefile but there were no LINKFORTARGET or LINKER there /John Dirk Engling wrote: Dear Matthew That is because cc is used for linking instead of c++, go to the Makefile in glxinfo and change the line, with LINKFORTARGET or LINKER (don't have the makefile any more, so look for the actual line) from $CC to $CPP and there you go. Regards erdgeist On Thu, 11 Jul 2002, Thyer, Matthew wrote: Thanks Dirk but I cant install ports/x11/XFree86-4-clients either! Errors below a gcc 3.1 ism maybe ? LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo -ansi -pedantic -Dasm=__asm ^^ this is wrong becaue lGLU is a CPP lib -Wall -Wpointer-arith -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -L/usr/X11R6/lib -lc_r -lm -Wl,-rpath,/usr/X11R6/lib - fnord! id 0x17B701E5 size 1024 | type rsa 11F8 8FF3 0508 09F9 DC6A 2AB3 AA67 C8CF To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecen t -CURRENT when trying to build ports/x11/XFree86-4
On Thu, Jul 11, 2002 at 04:28:06PM +0200, Jeremy Lea wrote: http://people.freebsd.org/~reg/x11.patch Would someone PLEASE commit these!?!?!?!?!?!! Before I get totally sick and tired of the main in my inbox and do it myself. I _truely_ fail to see what is so hard about fixing X to compile with -CURRENT at this point. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recen t-CURRENT when trying to build ports/x11/XFree86-4
On Wed, 2002-07-10 at 11:34, Shizuka Kudo wrote: --- Thyer, Matthew [EMAIL PROTECTED] wrote: make: don't know how to make /usr/X11R6/bin/ucs2any.pl. Stop *** Error code 2 -- Try: build ports/lang/perl and set env PERL to /usr/local/bin/perl The X ports are failing for a lot of people on -current because of a lack of perl. Most of the ports use perl in building as part of their imake use. I've added USE_PERL5 to imake-4's makefile locally, but it seems to incorrectly detect the /usr/bin/perl wrapper as a functioning perl installation. Shouldn't USE_PERL5 depend on ${LOCALBASE}/bin/perl on -current rather than just the existence of a binary called perl in the path? Before the patch: %ls /usr/local/bin/ %/usr/bin/perl -pi -e s|asd|sdf|g test perl: Perl is not installed, try 'pkg_add -r perl' %make === Extracting for XFree86-4.2.0_1,1 No MD5 checksum file. === XFree86-4.2.0_1,1 depends on shared library: Xft.1 - not found ===Verifying install for Xft.1 in /usr/ports/x11/XFree86-4-libraries === Extracting for XFree86-libraries-4.2.0_2 Checksum OK for xc/X420src-1.tgz. Checksum OK for xc/4.2.0-xlib-i18n-module.patch. Checksum OK for xc/4.2.0-libGLU-bad-extern.patch. === XFree86-libraries-4.2.0_2 depends on executable: imake - not found ===Verifying install for imake in /usr/ports/devel/imake-4 === Extracting for imake-4.2.0_1 Checksum OK for xc/X420src-1.tgz. === imake-4.2.0_1 depends on executable: perl5.6.1 - found -- Eric Anholt [EMAIL PROTECTED] http://people.freebsd.org/~anholt/dri/ Index: Mk/bsd.port.mk === RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.418 diff -u -r1.418 bsd.port.mk --- Mk/bsd.port.mk 5 Jul 2002 09:14:53 - 1.418 +++ Mk/bsd.port.mk 11 Jul 2002 21:40:30 - @@ -1026,8 +1026,13 @@ PERL5= ${LOCALBASE}/bin/perl${PERL_VERSION} PERL= ${LOCALBASE}/bin/perl .if defined(USE_PERL5) +.if ${OSVERSION} = 500036 +BUILD_DEPENDS+= ${LOCALBASE}/bin/perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 +RUN_DEPENDS+= ${LOCALBASE}/bin/perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 +.else BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 RUN_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 +.endif .endif .endif
don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recent -CURRENT when trying to build ports/x11/XFree86-4
=== Registering installation for XFree86-documents-4.2.0 === Returning to build of XFree86-4.2.0_1,1 === XFree86-4.2.0_1,1 depends on file: /usr/X11R6/lib/X11/fonts/100dpi/UTBI__10-ISO8859-1.pcf.gz - not found ===Verifying install for /usr/X11R6/lib/X11/fonts/100dpi/UTBI__10-ISO8859-1.pcf.gz in /usr/ports/x11-fonts/XFree86-4-font100dpi === Extracting for XFree86-font100dpi-4.2.0 Checksum OK for xc/X420src-2.tgz. === XFree86-font100dpi-4.2.0 depends on executable: mkfontdir - found === XFree86-font100dpi-4.2.0 depends on executable: imake - found === XFree86-font100dpi-4.2.0 depends on shared library: X11.6 - found === Patching for XFree86-font100dpi-4.2.0 === Configuring for XFree86-font100dpi-4.2.0 (cd /usr/ports/x11-fonts/XFree86-4-font100dpi/work/xc/fonts/encodings imake -DUseInstalled -DProjectRoot=/usr/X11R6 -I/usr/X11R6/lib/X11/config -DTOPDIR=../../.. -DCURDIR=.; make Makefiles ; make includes ; make depend) making Makefiles in large... including in ./large... depending in ./large... (cd /usr/ports/x11-fonts/XFree86-4-font100dpi/work/xc/fonts/bdf/100dpi imake -DUseInstalled -DProjectRoot=/usr/X11R6 -I/usr/X11R6/lib/X11/config -DTOPDIR=../../.. -DCURDIR=.; make Makefiles ; make includes ; make depend) make: don't know how to make /usr/X11R6/bin/ucs2any.pl. Stop *** Error code 2 -- Matthew Thyer Phone: +61 8 8259 7249 Science Corporate Information Systems Fax:+61 8 8259 5537 Defence Science and Technology Organisation, Edinburgh PO Box 1500 EDINBURGH South Australia 5111 IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recen t -CURRENT when trying to build ports/x11/XFree86-4
--- Thyer, Matthew [EMAIL PROTECTED] wrote: make: don't know how to make /usr/X11R6/bin/ucs2any.pl. Stop *** Error code 2 -- Try: build ports/lang/perl and set env PERL to /usr/local/bin/perl __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
RE: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recen t -CURRENT when trying to build ports/x11/XFree86-4
Doesn't seem to work for me with PERL defined in my environment and/or in /etc/make.conf. make: don't know how to make /usr/X11R6/bin/ucs2any.pl. Stop *** Error code 2 Stop in /usr/ports/x11-fonts/XFree86-4-font100dpi. *** Error code 1 Stop in /usr/ports/x11/XFree86-4. fuzz: {1025} env | grep PERL PERL=/usr/local/bin/perl fuzz: {1026} grep PERL /etc/make.conf PERL=/usr/local/bin/perl fuzz: {1027} pkg_info | grep perl perl-5.6.1_6Practical Extraction and Report Language -Original Message- From: Shizuka Kudo [mailto:[EMAIL PROTECTED]] Sent: Thursday, 11 July 2002 3:04 AM To: Thyer, Matthew; '[EMAIL PROTECTED]' Subject: Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recen t -CURRENT when trying to build ports/x11/XFree86-4 --- Thyer, Matthew [EMAIL PROTECTED] wrote: make: don't know how to make /usr/X11R6/bin/ucs2any.pl. Stop *** Error code 2 -- Try: build ports/lang/perl and set env PERL to /usr/local/bin/perl __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
RE: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recen t -CURRENT when trying to build ports/x11/XFree86-4
Thanks Dirk but I cant install ports/x11/XFree86-4-clients either! Errors below a gcc 3.1 ism maybe ? installing in programs/scripts... /usr/bin/install -c -m 0755 xon.sh /usr/X11R6/bin/xon install in programs/scripts done installing in programs/glxinfo... rm -f glxinfo LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -L/usr/X11R6/lib -lc_r -lm -Wl,-rpath,/usr/X11R6/lib /usr/X11R6/lib/libGLU.so: undefined reference to `operator new[](unsigned)' /usr/X11R6/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /usr/X11R6/lib/libGLU.so: undefined reference to `operator delete(void*)' /usr/X11R6/lib/libGLU.so: undefined reference to `__gxx_personality_v0' /usr/X11R6/lib/libGLU.so: undefined reference to `__cxa_pure_virtual' /usr/X11R6/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__class_type_info' /usr/X11R6/lib/libGLU.so: undefined reference to `operator delete[](void*)' /usr/X11R6/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info' /usr/X11R6/lib/libGLU.so: undefined reference to `operator new(unsigned)' collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/glxinfo. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-clients/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-clients/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-clients. -Original Message- From: Dirk Engling [mailto:[EMAIL PROTECTED]] Sent: Thursday, 11 July 2002 3:13 AM To: [EMAIL PROTECTED] Subject: Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.recen t -CURRENT when trying to build ports/x11/XFree86-4 Just make /usr/ports/x11/XFree86-4-clients before XFree86-4, that worked fine with me Regards erdgeist - fnord! id 0x17B701E5 size 1024 | type rsa 11F8 8FF3 0508 09F9 DC6A 2AB3 AA67 C8CF To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecen t -CURRENT when trying to build ports/x11/XFree86-4
Thyer, Matthew wrote: Thanks Dirk but I cant install ports/x11/XFree86-4-clients either! Errors below a gcc 3.1 ism maybe ? Almost certainly a compiler mixup. Did you install a binary package? Secondly.. you have: rm -f glxinfo LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -L/usr/X11R6/lib -lc_r -lm -Wl,-rpath,/usr/X11R6/lib Note that cc will not link in libstdc++.so. The new and delete primatives have been moved from libgcc.a to libstdc++.so.4, so if you compile and link a c++ executable, you MUST either use c++ instead of cc, or explicitly add -lstdc++ to the command line. The example above that you pasted does neither. Finally.. If you are really stuck here, may I suggest make -i all install on the port? ie: ignore errors. You might end up missing out on having /usr/X11R6/bin/glxinfo installed, but I would wager that you will not miss it. Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] All of this is for nothing if we don't go to the stars - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
RE: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecen t -CURRENT when trying to build ports/x11/XFree86-4
My entire machine is built from source. I started with no packages installed at all. The only think I can think of is old binaries/libraries/other files left behind from earlier -CURRENT. Is there a tool to clean these up yet? Maybe it should be part of mergemaster. I'll clean them up manually and see if that fixes it. I dont have an /etc/malloc.conf Significant part of my /etc/make.conf is: CFLAGS=-O -pipe COPTFLAGS=-O -pipe USA_RESIDENT=no XFREE86_VERSION=4 HAVE_MOTIF=yes WITH_MOTIF=yes WITH_PNG_MMX=yes WITH_GNOME=yes WITH_GTK=yes WITH_TK83=yes WITH_OGGVORBIS=yes WITH_SANE=yes A4=yes I'll experiment with a cut down make.conf too. -Original Message- From: Peter Wemm [mailto:[EMAIL PROTECTED]] Sent: Thursday, 11 July 2002 12:32 PM To: Thyer, Matthew Cc: 'Dirk Engling'; 'FreeBSD-CURRENT' Subject: Re: don't know how to make /usr/X11R6/bin/ucs2any.pl. on v.r ecen t -CURRENT when trying to build ports/x11/XFree86-4 Thyer, Matthew wrote: Thanks Dirk but I cant install ports/x11/XFree86-4-clients either! Errors below a gcc 3.1 ism maybe ? Almost certainly a compiler mixup. Did you install a binary package? Secondly.. you have: rm -f glxinfo LD_LIBRARY_PATH=../../exports/lib cc -o glxinfo -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -L/usr/X11R6/lib -lc_r -lm -Wl,-rpath,/usr/X11R6/lib Note that cc will not link in libstdc++.so. The new and delete primatives have been moved from libgcc.a to libstdc++.so.4, so if you compile and link a c++ executable, you MUST either use c++ instead of cc, or explicitly add -lstdc++ to the command line. The example above that you pasted does neither. Finally.. If you are really stuck here, may I suggest make -i all install on the port? ie: ignore errors. You might end up missing out on having /usr/X11R6/bin/glxinfo installed, but I would wager that you will not miss it. Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] All of this is for nothing if we don't go to the stars - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: x11/XFree86-4
Stephan van Beerschoten wrote: I am having trouble compiling XFree86 from the ports tree.. I once ever few weeks recompile several packages again because I run -CURRENT and want to keep everything nicely sync'ed and updated in ports too.. But while compiling .. I got this error: LD_LIBRARY_PATH=../../exports/lib cc -o appres -ansi -pedantic -Dasm=__asm -Wal l -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext -lX11 -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib ../../exports/lib/libXt.so: undefined reference to `pthread_cond_signal' ../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' Remove /usr/ports/x11/XFree86-4/files/patch-xthreads: it breaks compilation in CURRENT. This worked fine for me. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
x11/XFree86-4
I am having trouble compiling XFree86 from the ports tree.. I once ever few weeks recompile several packages again because I run -CURRENT and want to keep everything nicely sync'ed and updated in ports too.. But while compiling .. I got this error: LD_LIBRARY_PATH=../../exports/lib cc -o appres -ansi -pedantic -Dasm=__asm -Wal l -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext -lX11 -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib ../../exports/lib/libXt.so: undefined reference to `pthread_cond_signal' ../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' ../../exports/lib/libX11.so: undefined reference to `pthread_cond_broadcast' ../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' ../../exports/lib/libXt.so: undefined reference to `pthread_cond_init' ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_unlock' ../../exports/lib/libXt.so: undefined reference to `pthread_self' ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_destroy' ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_lock' ../../exports/lib/libXt.so: undefined reference to `pthread_cond_wait' ../../exports/lib/libXt.so: undefined reference to `pthread_cond_destroy' ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_init' *** Error code 1 Stop in /mnt/archive/CVS/ports/x11/XFree86-4/work/xc/programs/appres. I am using the ports tree which cvs'sed about half an hour ago. I am not much of a programmer, but I do recall several undef references, so I tried to link with libc_r too. Which gave me a better result, while still failing: LD_LIBRARY_PATH=../../exports/lib cc -lc_r -o appres -ansi -pedantic -Dasm=__as m -Wall -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext -lX11 -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib ../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' ../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' *** Error code 1 Stop in /mnt/archive/CVS/ports/x11/XFree86-4/work/xc/programs/appres. I don't know what to do with these undefs .. so, any help would be appreciated. I'm not on the -ports list, so please include me in any mail referencing this. -Steve -- Stephan van Beerschoten [SVB21-RIPE] [EMAIL PROTECTED] PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 "To err is human, to forgive is Not Company Policy" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: x11/XFree86-4
Stephan van Beerschoten writes: I am having trouble compiling XFree86 from the ports tree.. I once ever few weeks recompile several packages again because I run -CURRENT and want to keep everything nicely sync'ed and updated in ports too.. But while compiling .. I got this error: LD_LIBRARY_PATH=../../exports/lib cc -o appres -ansi -pedantic -Dasm=__asm -Wal l -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext -lX11 -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib ../../exports/lib/libXt.so: undefined reference to `pthread_cond_signal' Don't compile with CFLAGS=-O3 or above. -O or -O2 is OK. Jean-Marc -- Jean-Marc Zucconi -- PGP Key: finger [EMAIL PROTECTED] [KeyID: 400B38E9] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message