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

2002-07-17 Thread Andrea Campi

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.recen t-CURRENT when trying to build ports/x11/XFree86-4

2002-07-11 Thread Eric Anholt

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
 



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

2002-07-10 Thread Shizuka Kudo

--- 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

2002-07-10 Thread Thyer, Matthew

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

2002-07-10 Thread Thyer, Matthew

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