Re: Little valgrind issue

2008-05-07 Thread Garrett Cooper

On May 6, 2008, at 8:05 AM, Gé Weijers wrote:


Hello,

I tried to build 'valgrind' in a jail environment. The Makefile  
tries to make sure that /proc is mounted before it build valgrind,  
which is fine, but the way it does it won't work in a jail because / 
sbin/mount does not show anything useful.


A quick workaround: define the environment variable  
'PACKAGE_BUILDING=yes' and then run 'make' and 'make install'


It would be better if the Makefile would just look for, say, the  
existence of '/proc/curproc' in stead of relying on /sbin/mount.


Gé

--
Gé Weijers
[EMAIL PROTECTED]


You should probably submit this as a bug report and notify the  
maintainer at: http://www.freebsdsoftware.org/devel/valgrind.html.

-Garrett___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Little valgrind issue

2008-05-07 Thread Andrew W. Nosenko
On Tue, May 6, 2008 at 6:05 PM, Gé Weijers [EMAIL PROTECTED] wrote:
 Hello,

  I tried to build 'valgrind' in a jail environment. The Makefile tries to
 make sure that /proc is mounted before it build valgrind, which is fine, but
 the way it does it won't work in a jail because /sbin/mount does not show
 anything useful.

  A quick workaround: define the environment variable 'PACKAGE_BUILDING=yes'
 and then run 'make' and 'make install'

  It would be better if the Makefile would just look for, say, the existence
 of '/proc/curproc' in stead of relying on /sbin/mount.


I'm very surprised.  Just because unable to build valgring at all
since FreeBSD-7.0... :-(  (New threading implementation related
issue?)

-- 
Andrew W. Nosenko [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Little valgrind issue

2008-05-07 Thread Garrett Cooper

On May 7, 2008, at 4:04 AM, Andrew W. Nosenko wrote:


On Tue, May 6, 2008 at 6:05 PM, Gé Weijers [EMAIL PROTECTED] wrote:

Hello,

I tried to build 'valgrind' in a jail environment. The Makefile  
tries to
make sure that /proc is mounted before it build valgrind, which is  
fine, but
the way it does it won't work in a jail because /sbin/mount does  
not show

anything useful.

A quick workaround: define the environment variable  
'PACKAGE_BUILDING=yes'

and then run 'make' and 'make install'

It would be better if the Makefile would just look for, say, the  
existence

of '/proc/curproc' in stead of relying on /sbin/mount.



I'm very surprised.  Just because unable to build valgring at all
since FreeBSD-7.0... :-(  (New threading implementation related
issue?)

--
Andrew W. Nosenko [EMAIL PROTECTED]


... or because of the new compiler and its relevant libc link-ins?
-Garrett___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]