freebsd 9.0: netperf 2.5 'configure' fails for --enable-cpuutil

2012-03-20 Thread akshay sreeramoju
Hi,

What is the right option to give for ./configure --enable_cpuutil=??

'./configure --enable-cpuutil=sysctl'  errors  as below
checking which CPU utilization measurement type to use... configure: error:
--enable-cpuutil takes kstat, kstat10, looper, osx, perfstat, procstat,
pstat, pstatnew, sysctl or none

./configure --enable-cpuutil=none, configures, compiles and runs. But
 local CPU util/service-demand is not calculated, as seen below
Recv   SendSend  Utilization   Service
Demand
Socket Socket  Message  Elapsed  Send Recv SendRecv
Size   SizeSize Time Throughput  localremote   local
remote
bytes  bytes   bytessecs.10^6bits/s  % U  % S  us/KB   us/KB

200 100 1006.04  0.89   -1.000.31 0.000
154.316


I  tried  the other suggested:  kstat, kstat10, looper, osx, perfstat,
procstat, pstat, pstatnew. They all fail at configure/make/un level.

Can anyone help?

Thank,

Akshay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't install WindowMaker

2012-03-20 Thread Chris Whitehouse

On 20/03/2012 04:58, ill...@gmail.com wrote:

On 11 March 2012 04:17, Sabine Baerbae...@t-online.de  wrote:

Sorry if I'm totally wrong here but I don't know where to ask.

I'm using WindowMaker as my window manager for some years. I do not
remember why, but some days ago, I deinstalled ist. Now, I can't
install it.

$uname -rp
  |7.4-STABLE amd64

#portmaster -aD
|all up to date (had a long run of updating gcc46 and others this
|morning)

#portmaster /x11-wm/windomaker
  |[...]
  |handlers.c:542: warning: implicit declaration of function 'FD_ISSET'
  |*** Error code 1


I know I'm going back a ways here but:

Unless you have WERROR set, I don't think that warning is
the thing giving you *** Error code 1.  Look up a bit (or a
lot) higher.


Hi,
There is a thread on the ports mailing list which may be relevant. 
Subject [PATCH] proposal for x11-wm/windowmaker. See below for a bit 
of it.


On 3/19/2012 4:54 PM, Ade Lovett wrote:
  On 3/19/2012 16:15, Doug Barton wrote:
  On 3/19/2012 12:59 AM, Arrigo Marchiori wrote:
  Hello,
 
  I am attaching a quick-and-dirty patch that should reallow
  compilation of x11-wm/windowmaker under 7-STABLE.
 
  The problem seems to be the missing macro HAVE_SYS_SELECT_H; 
the patch

  just forces it in the configure script if a FreeBSD system is
  detected.
 
  I'm not opposed to adding that if someone can confirm that it allows
  WindowMaker to compile on 7-stable.
 
  Since it's for 7-stable only (apparently), it would be better off
  wrapped in an OSVERSION check to make things abundantly clear as to why
  it's being done.
Yes, I was planning to do that, but thanks for the suggestion in any case.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-20 Thread Anton Shterenlikht
On Mon, Mar 19, 2012 at 11:13:42PM +1000, Da Rock wrote:
 On 03/19/12 23:07, Anton Shterenlikht wrote:
 On Mon, Mar 19, 2012 at 01:44:23PM +0100, Polytropon wrote:
 On Mon, 19 Mar 2012 12:21:29 +, Anton Shterenlikht wrote:
 I can't lauch www/epiphany or www/rekonq
 on ia64 -current, due to some dbus issue:
 
 TZAV  ps ax|grep dbus
   1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork 
   --print-pid 5 --print-address 7 --sess
   1434  2- I0:00.01 dbus-launch 
   --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
 41284  5  RL+  0:00.00 grep dbus
 
 TZAV  epiphany
 
 ** (epiphany:41285): WARNING **: Unable to connect to session bus: 
 Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or 
 directory
 
 TZAV  rekonq
 unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session 
 server:  Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file 
 or directory
 
 unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.
 
 TZAV  ps ax | grep dbus
   1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork 
   --print-pid 5 --print-address 7 --sess
   1434  2- I0:00.01 dbus-launch 
   --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
 41294  5  RL+  0:00.00 grep dbus
 
 What am I doing wrong?
 Have you checked the presence of the /tmp/dbus-dyUjnhLBwE socket?
 sure, it's not there.
 
 I understand dbus is a required part of
 a modern browser, it is no longer an option, right?
 What?! I don't think that this is an acceptable opinion. :-)
 
 Both browsers you mentioned are part of KDE or Gnome.
 THOSE heavily rely on DBUS, that's right, and due to
 the transition of dependencies, _their_ web browsers
 also do.
 
 For example, I'm not running DBUS here, but I run modern
 web browsers. I just don't run _those_ two. :-)
 
 So did you properly build your KDE and Gnome components
 with DBUS enabled, and all of their configurable dependencies
 also with DBUS enabled? It _may_ be that the use of DBUS
 is not among the default building options for one of the
 nested dependencies, and that one might be _the one_ that
 now shoots your foot. :-)
 
 Your ps listing indicates that you are running DBUS, so
 that shouldn't be the problem. Missing DBUS support in one
 of the required components _could_ be.
 ok, this makes is clearer.
 
 My dbus comes from www/firefox36:
 
 TZAV  pwd
 /usr/ports/www/firefox36
 TZAV  make showconfig
 ===  The following configuration options are available for 
 firefox-3.6.28,1:
   DBUS=on Enable D-BUS support
   SMB=off Enable smb:// URI support using gnomevfs
   DEBUG=off Build a debugging image
   LOGGING=off Enable additional log messages
   OPTIMIZED_CFLAGS=off Enable some additional optimizations
 ===  Use 'make config' to modify these settings
 TZAV
 
 and firefox36 works fine.
 
 I build from ports. Neither rekonq nor epiphany have
 dbus options. My reading of the rekonq Makefile
 is that it uses devel/dbus-qt4. Anyway, these are
 installed:
 
 TZAV  pkg info -xo dbus
 dbus-1.4.14_2: devel/dbus
 dbus-glib-0.94: devel/dbus-glib
 eggdbus-0.6_1: devel/eggdbus
 libdbusmenu-qt-0.9.0: devel/libdbusmenu-qt
 qt4-dbus-4.7.4: devel/dbus-qt4
 qt4-qdbusviewer-4.7.4: devel/qt4-qdbusviewer
 TZAV
 
 Many thanks
 
 Have you got this in your session startup? May or may not be necessary 
 if you're using kdm/gdm.
 
 ## test for an existing bus daemon, just to be safe
 if test -z $DBUS_SESSION_BUS_ADDRESS ; then
 ## if not found, launch a new one
 eval 'dbus-launch --sh-syntax --exit-with-session'
 echo D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS
 fi

Thanks, this helped.
Now the browsers just dump core on startup:

% epiphany 

** (epiphany:11547): WARNING **: Unable to start Zeroconf subsystem

** (epiphany:11547): WARNING **: Throbber animation not found

** (epiphany:11547): WARNING **: Throbber fallback animation not found either
ASSERTION FAILED: isPageAligned(size)
./Source/JavaScriptCore/wtf/PageAllocation.h(101) : static WTF::PageAllocation 
WTF::PageAllocation::allocate(size_t, WTF::OSAllocator::Usage, bool, bool)
Segmentation fault (core dumped)

% rekonq 
unnamed app(11553): Communication problem with  rekonq , it probably crashed. 
Error message was:  org.freedesktop.DBus.Error.NoReply :  Message did not 
receive a reply (timeout by message bus)  


For epiphany the problem seems to be with webkit-gtk2.
For rekonq is't probably in qt4-webkit.

I'll try to ask upstream.

Thanks again

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


GIMP(1) don't run

2012-03-20 Thread Xavier FreeBSD questions
Hi to all,

When I want run GIMP(1) it say:

 gimp
Shared object libpcre.so.0 not found, required by gimp

How I can solvent this problem ?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: GIMP(1) don't run

2012-03-20 Thread Devin Teske


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Xavier FreeBSD questions
 Sent: Tuesday, March 20, 2012 10:06 AM
 To: freebsd-questions@freebsd.org
 Subject: GIMP(1) don't run
 
 Hi to all,
 
 When I want run GIMP(1) it say:
 
  gimp
 Shared object libpcre.so.0 not found, required by gimp
 
 How I can solvent this problem ?

sudo pkg_add -r pcre

-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: GIMP(1) don't run

2012-03-20 Thread Matthew Seaman
On 20/03/2012 17:05, Xavier FreeBSD questions wrote:
 Hi to all,
 
 When I want run GIMP(1) it say:
 
 gimp
 Shared object libpcre.so.0 not found, required by gimp
 
 How I can solvent this problem ?

If libpcre isn't installed, then install it.  However, libpcre is at ABI
version 1 now after a recent update.  So you will also need to
reinstall gimp.  For best results, compile it via the ports.  If you
must install from a pkg, then make sure you've got a version built after
Feb 14th (which is when the pcre version bump happened.)

I suspect it may be more useful in hindsight now, but see the
/usr/ports/UPDATING entry for 20120214

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: FreeBSD 9's SSH HPN

2012-03-20 Thread Adam Vande More
On Mon, Mar 19, 2012 at 8:45 PM, Mark Felder f...@feld.me wrote:

 Is the HPN patchset included with the base OpenSSH the full patchset? Does
 it include the threaded CTR patch? I can't seem to find a clear answer to
 this.


crypto/openssh/README.hpn references it so I would assume so.


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: GIMP(1) don't run

2012-03-20 Thread Lars Eighner

On Tue, 20 Mar 2012, Xavier FreeBSD questions wrote:


Hi to all,

When I want run GIMP(1) it say:


gimp

Shared object libpcre.so.0 not found, required by gimp

How I can solvent this problem ?




Check to see whether you have installed devel/pcre.  You almost certainly
have. You probably updated devel/pcre either intentionally or by installing
something that depended on the new version.

UPDATING 20120204 indicates that there is a way to update devel/pcre so that
the old shared libraries will be preserved.  That, however, does not work. 
(Does anyone ever test stuff put in UPDATING?)



So, in /usr/local/lib make a symbolic link to libpcre.so.1 from libpcre.so.0
.

That's not the right answer,  but it will work.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem compiling emulators/virtualbox-ose-kmod 4.1.8_2

2012-03-20 Thread Mike Clarke
On Friday 16 March 2012, Lowell Gilbert wrote:

 My best advice is: clean out the directory for that port, update
 again, and see if the problem is the same.

I've now deleted everything in /usr/ports/emulators/virtualbox-ose-kmod and 
downloaded a fresh copy of the 
port (4.1.10) from the FreeBSD website but still get the same problem when 
compiling.

/data1/tmp/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.10/out/freebsd.x86/


release/bin/src/vboxdrv/r0drv/freebsd/memobj-r0drv-freebsd.c:405: error: 
invalid type argument of '-'
*** Error code 1

I've also updated the source files for the base system and built a new kernel 
in case it's a header problem 
since I noticed that /usr/src/include/unistd.h and 
/usr/src/lib/libc/include/libc_private.h were both updated 
in security advisory SA-11:07 (for which I only did a binary update at the 
time) but this didn't cure the 
problem.

I've had no problem building earlier versions but it went pear shaped with 
4.1.8_2

As an experiment I've used portdowngrade to try compiling a few older versions 

number date portversion  comment
1  2012/03/15 09:32:29  VirtualBox-${DISTVERSION}  - Update to 4.1.10
2  2012/03/09 21:46:18  VirtualBox-${DISTVERSION}_2  - Reenabled fixed 
memobj r0 patch
3  2012/02/22 22:09:41  VirtualBox-${DISTVERSION}_1  - Revert memobj r0 
patch until the problems on i386 
are solved
4  2012/02/21 14:31:54  VirtualBox-${DISTVERSION}  - Update to 4.1.8

Of these, the only one to compile OK was 4.1.8_1 so it looks like the fixed 
memobj r0 patch still has problems 
on my system.

FreeBSD curlew.lan 8.1-RELEASE-p8 FreeBSD 8.1-RELEASE-p8 #0: Tue Mar 20 
19:00:39 GMT 2012 
r...@curlew.lan:/usr/obj/usr/src/sys/GENERIC  i386

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem compiling emulators/virtualbox-ose-kmod 4.1.8_2

2012-03-20 Thread Mike Clarke
On Friday 16 March 2012, Adam Vande More wrote:

 On Tue, Mar 13, 2012 at 9:13 AM, Mike Clarke 
jmc-freeb...@milibyte.co.ukwrote:
  in
  /data1/tmp/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-
 4.1.8_OSE/out/freebsd.x86/release/bin/src/vboxdrv.
 
  I ran portsnap immediately before portmaster so my ports are up to
  date.
 
  Any suggestions?

 Did you follow the relevant /usr/src/UPDATING instructions?

The latest relevant one appears to be this:

20120221:
  AFFECTS: users of emulators/virtualbox-ose
  AUTHOR: de...@freebsd.org

  virtualbox-ose has been updated to 4.1.8 and requires the latest
  devel/kBuild-devel now. It is only a build dependency so it is safe
  to remove it before updating.

  # pkg_delete -f kBuild-\*

I did this some time ago and the earlier version, 4.1.8_1, compiled fine 
but I started to have problems with 4.1.8_2

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: resolved freebsd 9.0: netperf 2.5 'configure' fails for --enable-cpuutil

2012-03-20 Thread akshay sreeramoju
I had to change freebsd[4-7] to freebsd[4-9] in configure file.

Thanks,
Akshay

On Tue, Mar 20, 2012 at 12:38 AM, akshay sreeramoju 
akshay.sreeram...@gmail.com wrote:

 Hi,

 What is the right option to give for ./configure --enable_cpuutil=??

 './configure --enable-cpuutil=sysctl'  errors  as below
 checking which CPU utilization measurement type to use... configure:
 error: --enable-cpuutil takes kstat, kstat10, looper, osx, perfstat,
 procstat, pstat, pstatnew, sysctl or none

 ./configure --enable-cpuutil=none, configures, compiles and runs. But
  local CPU util/service-demand is not calculated, as seen below
 Recv   SendSend  Utilization   Service
 Demand
 Socket Socket  Message  Elapsed  Send Recv SendRecv
 Size   SizeSize Time Throughput  localremote   local
 remote
 bytes  bytes   bytessecs.10^6bits/s  % U  % S  us/KB
 us/KB

 200 100 1006.04  0.89   -1.000.31 0.000
 154.316


 I  tried  the other suggested:  kstat, kstat10, looper, osx, perfstat,
 procstat, pstat, pstatnew. They all fail at configure/make/un level.

 Can anyone help?

 Thank,

 Akshay



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Convert mp3 to audio CD

2012-03-20 Thread Steve Bertrand
I know this is a backwards request, as I haven't had to go from mp3 to 
audio CD format in at least 10 years, but I do now.


What is available to do so?

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-20 Thread Bernt Hansson

2012-03-19 13:21, Anton Shterenlikht skrev:

I can't lauch www/epiphany or www/rekonq
on ia64 -current, due to some dbus issue:

TZAV  ps ax|grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41284  5  RL+  0:00.00 grep dbus

TZAV  epiphany

** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed to 
connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

TZAV  rekonq
unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session server:  
Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.

TZAV  ps ax | grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41294  5  RL+  0:00.00 grep dbus

What am I doing wrong?

I understand dbus is a required part of
a modern browser, it is no longer an option, right?

Many thanks


You do have this in /etc/rc.conf

dbus_enable=YES
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Convert mp3 to audio CD

2012-03-20 Thread Antonio Olivares
On Tue, Mar 20, 2012 at 10:10 PM, Steve Bertrand
steve.bertr...@gmail.com wrote:
 I know this is a backwards request, as I haven't had to go from mp3 to audio
 CD format in at least 10 years, but I do now.

 What is available to do so?

 Steve

Take a look here:

http://www.linuxquestions.org/questions/linux-software-2/using-mpg123-to-convert-mp3-to-wav-files-332570/

or here

http://www.capuchado.com/articles/ShellMC.html

One that requires mpg123:


=
#!/bin/sh
#
#   mp3_to_wav
#
#   Use to convert mp3's to wav files

echo current directory = `pwd`
echo Please enter working directory -\c
read BASE
if cd $BASE ;
then
{
for i in *.mp3; do
out=$(ls $i | sed -e 's/.mp3//g')
echo $i - $out.wav
mpg321 -w $out.wav $i /dev/null 21
done
}
else
{
echo ERROR!!
exit 1
}
fi

=

or one that uses mplayer:

=

#!/bin/sh
#
# mp3_to_wav
#
echo current directory = `pwd`
echo Please enter working directory -\c
read BASE
if cd $BASE ;
then
{
##
#
# mp3towav
#
# you can comment mplayer line and use faad?  at your own discretion
for i in *.mp3; do
out=$(ls $i | sed -e 's/.mp3//g')
echo In = $i
echo Out = $out.wav
#faad -o $out.wav $i
   mplayer -vc null -vo null -ao pcm:fast $i -ao
pcm:file=${out}.wav #another option
done

}
else
{
echo ERROR!!
exit 1
}
fi
=

Then with the corresponding wav files burn to cd with cdrecord
$ cdrecord -v -dao dev=X,Y, Z driveropts=burnproof -speed=?  -eject -pad *.wav

and you may burn to cd.  Try that out, or you can have graphical tools
to do it, like k3b, select the files and burn to cd.

Regards,



Antonio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Convert mp3 to audio CD

2012-03-20 Thread ill...@gmail.com
On 20 March 2012 23:10, Steve Bertrand steve.bertr...@gmail.com wrote:
 I know this is a backwards request, as I haven't had to go from mp3 to audio
 CD format in at least 10 years, but I do now.

 What is available to do so?


Among probably thousands of other options,
mplayer -vo null -ao pcm:file=outfile.wav infile.mp3
etc etc

-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Convert mp3 to audio CD

2012-03-20 Thread Adam Vande More
On Tue, Mar 20, 2012 at 10:10 PM, Steve Bertrand
steve.bertr...@gmail.comwrote:

 I know this is a backwards request, as I haven't had to go from mp3 to
 audio CD format in at least 10 years, but I do now.

 What is available to do so?


multimedia/mp3cd

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org