Re: LIB_DEPENDS problem

2006-05-25 Thread db

Kris Kennaway wrote:
#LIB_DEPENDS=   cppe:${PORTSDIR}/devel/cppe \ (also a port not in the 
collection)

LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
   pqxx:${PORTSDIR}/databases/postgresql-libpqxx



Grrr..this is your fault since that's not the library name installed
by that port.
  

What?

work# more /usr/ports/databases/postgresql-libpqxx/pkg-plist | grep 
libpqxx.so

lib/libpqxx.so

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-24 Thread db

libpqxx.so is not a broken link:

work# ls -l /usr/local/lib/*pqxx*
-rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
/usr/local/lib/libpqxx-2.5.5.so

-rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
-rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
- libpqxx-2.5.5.so

work# ldconfig -r | grep pqxx
work#

Sorry for not quoting you this time, but your reply was download via 
pop3 at work and now I'm home and the archive is not updated.


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


Re: LIB_DEPENDS problem

2006-05-24 Thread db

Kris Kennaway wrote:

work# ls -l /usr/local/lib/*pqxx*
-rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
/usr/local/lib/libpqxx-2.5.5.so

-rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
-rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
- libpqxx-2.5.5.so

work# ldconfig -r | grep pqxx
work#


Try rerunning ldconfig -R (or reboot).
  

I tried (both), but no luck :-(

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-24 Thread db

Kris Kennaway wrote:

work# ls -l /usr/local/lib/*pqxx*
-rwxr-xr-x  1 root  wheel  332194 May  4 14:56 
/usr/local/lib/libpqxx-2.5.5.so

-rw-r--r--  1 root  wheel  439800 May  4 14:56 /usr/local/lib/libpqxx.a
-rwxr-xr-x  1 root  wheel 851 May  4 14:56 /usr/local/lib/libpqxx.la
lrwxr-xr-x  1 root  wheel  16 May  4 14:56 /usr/local/lib/libpqxx.so 
- libpqxx-2.5.5.so

work# ldconfig -r | grep pqxx
work#
   


Try rerunning ldconfig -R (or reboot).
 
  

I tried (both), but no luck :-(



Reinstall the port then, something seems to be wrong with it (corrupt
library?).
  

Ok tried that and still no luck :-(

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-24 Thread db

Kris Kennaway wrote:

What port are you having problems with again?
  

It's not in the port collection yet:

PORTNAME=   esad
PORTVERSION=0.1
CATEGORIES= net
MASTER_SITES=   http://esad.trunet.dk/  #no you can't download anything 
until it is ready


MAINTAINER= [EMAIL PROTECTED]
COMMENT=Multi-service framework

INSTALLS_SHLIB= yes

#LIB_DEPENDS=   cppe:${PORTSDIR}/devel/cppe \ (also a port not in the 
collection)

LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
   pqxx:${PORTSDIR}/databases/postgresql-libpqxx

WRKSRC= ${WRKDIR}/esad

do-install:
   ${INSTALL_DATA} ${WRKSRC}/plugins/relay/relay.so 
${PREFIX}/lib/esad/relay.so
   ${INSTALL_DATA} ${WRKSRC}/plugins/maildir/maildir.so 
${PREFIX}/lib/esad/maildir.so

   ${INSTALL_PROGRAM} ${WRKSRC}/src/esad ${PREFIX}/bin/esad

.include bsd.port.mk


Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LIB_DEPENDS problem

2006-05-23 Thread db

Notice that it didn't build this port, but skipped straight to
installing it.  This means that you have a stale build of the port,
and need to run 'make clean' before and/or after your builds as a
matter of habit.


work# ls /usr/ports/databases/postgresql-libpqxx
Makefiledistinfofiles   pkg-descr   pkg-plist
work# make -DNO_CHECKSUM
===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for esad-0.1
===  Patching for esad-0.1
===   esad-0.1 depends on shared library: ACE_SSL - found
===   esad-0.1 depends on shared library: pqxx - not found
===Verifying install for pqxx in 
/usr/ports/databases/postgresql-libpqxx

===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for postgresql-libpqxx-2.5.5
===  Patching for postgresql-libpqxx-2.5.5
===  Applying FreeBSD patches for postgresql-libpqxx-2.5.5
===   postgresql-libpqxx-2.5.5 depends on executable: gmake - found
===   postgresql-libpqxx-2.5.5 depends on shared library: pq.3 - found
===  Configuring for postgresql-libpqxx-2.5.5
^C

libpqxx is installed, but it can't find it and try to build and install 
it again.


Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


LIB_DEPENDS problem

2006-05-22 Thread db

Hi all

I'm trying to make a new port that depends on ACE and pqxx, but it can't 
find lib pqxx even though it is installed.


work# make -DNO_CHECKSUM
===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for esad-0.1
===  Patching for esad-0.1
===   esad-0.1 depends on shared library: ACE_SSL - found
===   esad-0.1 depends on shared library: pqxx - not found
===Verifying install for pqxx in 
/usr/ports/databases/postgresql-libpqxx

===  WARNING: Vulnerability database out of date, checking anyway
===  Extracting for postgresql-libpqxx-2.5.5
^C
work# pkg_info | grep postgresql-libpqxx
postgresql-libpqxx-2.5.5 A new C++ interface for PostgreSQL
work# ls /usr/local/lib/libpqxx*
/usr/local/lib/libpqxx-2.5.5.so /usr/local/lib/libpqxx.la
/usr/local/lib/libpqxx.a/usr/local/lib/libpqxx.so
work# ldconfig -r | grep pqxx
work#

From the Makefile:
LIB_DEPENDS=ACE_SSL:${PORTSDIR}/devel/ace \
   pqxx:${PORTSDIR}/databases/postgresql-libpqxx

System: FreeBSD 6.0-SECURITY on a ia32.

Anyone?

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem booting

2006-04-21 Thread db
Hi all

I know that this is regarding pfSense (1.0 beta3), but since it is running with
a FreeBSD 6.1 RC1 kernel, I will try asking for help here.

I've installed pfSense on the harddrive (tried this with a SATA disk and a
normal disk), but when I boot I get a lot of junk. I can get:

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/loader
boot:

Right after this I get a lof of junk (registers and their values in hex) running
endlessly down the screen. Any idea what's wrong?

br
db

ps: The CPU is an intel and the motherboard is an Asus P5P800 SE.

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


Re: Program for restarting stopped/crashed daemons

2006-02-11 Thread db
On Saturday 11 February 2006 16:37, you wrote:
 Did you try djb's daemontools ?

I'll take a look, thanks.

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


Re: Sendmail x Postfix

2006-02-06 Thread db
On Monday 06 February 2006 17:07, Thiago Esteves wrote:
  I use Sendmail but I'd like to change to Postfix,
 because I have listened very well about security and
 others in Postfix ...
  What do you know about this?...What do you prefer?...

When I had to choose a smtpd I looked at sendmail, exim, courier, qmail and 
postfix. I chose postfix and did so because of security and features like 
getting info from a database, block listing, sasl, tls/ssl and being able to 
use it with amavisd-new and maildrop.

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Program for restarting stopped/crashed daemons

2006-01-31 Thread db
Hi all

I've been looking for a program to restart apache, postfix and my other server 
daemons when they stop/crash, but couldn't find a good one. I've read the 
sourcecode for sysutils/monit and sysutils/monitord but they seem to 
need /proc and insist on poll instead of using kqueue(2) and kevent(2). So 
before I start coding my own, can someone recommend a port or tell me why 
kevent(2) shouldn't be used for this?

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Program for restarting stopped/crashed daemons

2006-01-31 Thread db
On Tuesday 31 January 2006 21:09, Martin Hudec wrote:
  I've been looking for a program to restart apache, postfix and my other
  server daemons when they stop/crash, but couldn't find a good one. I've
  read the sourcecode for sysutils/monit and sysutils/monitord but they
  seem to need /proc and insist on poll instead of using kqueue(2) and
  kevent(2). So before I start coding my own, can someone recommend a port
  or tell me why kevent(2) shouldn't be used for this?

 And what is exactly wrong with /proc running?

I'm not using it on my 6.0 servers.

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


Re: where can I find Design and Implementation of the 4.4 BSD OS book?

2005-11-23 Thread db
On Wednesday 23 November 2005 21:45, Javier Matos wrote:
 Anyone know if there are more information in freebsd website???, I spend to
 much time searching but I canĀ“t find it.

I will recommend:
http://www.amazon.com/gp/product/0201702452/102-5278219-2697763?v=glancen=283155n=507846s=booksv=glance

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


Re: Monitoring a program

2005-11-17 Thread db
On Thursday 17 November 2005 09:32, you wrote:
 You can take a snapshot of files being used by lsof:
 Port:   lsof-4.76.1.1
 Path:   /usr/ports/sysutils/lsof
 Info:   Lists information about open files (similar to fstat(1))
 Maint:  [EMAIL PROTECTED]
 B-deps:
 R-deps:
 WWW:http://people.freebsd.org/~abe/

 Hope this will help you :)

Well, the build fails, but thanks (I will notify the maintainer) :-)

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


Re: Monitoring a program

2005-11-17 Thread db
On Thursday 17 November 2005 09:42, [EMAIL PROTECTED] wrote:
 with 'lsof' you can see the actual situation; with 'truss' you
 may investigate in detail all sys calls (like opening files)

Thanks, I also found /devel/strace which looks good :-)

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


Monitoring a program

2005-11-16 Thread db
Hi all

I would like to know what files a program access during it's life time (and 
maybe also the internet connections it makes), how should I do this?
I have considered fstat, find, ktrace and searching the source or binary for 
path strings, but I guess I need a hook for open().

I'm running 5.4 on a ia32, but if there is a 6.x only program it is also 
welcome.

Best regards
db
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.4 on i386g++ -pg - fail

2005-08-02 Thread db
Hi all

I'm trying to build some C++ code with -pg, but I get:
/usr/bin/ld: cannot find -lstdc++_p
Clearly FreeBSD hasn't got a profiled version of the standard C/C++ libs by 
default, so how do I compile it with the normal libs? (I haven't got the 
need for standard lib stats).

Best regards
db

Ps: Please cc to me as I am not on the list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.3-5.4 (ia32) binary upgrade problem

2005-05-10 Thread db
Hi all

I have tried this with two cd's on two computers (both running 5.3). 
I've downloaded 5.4-disc1
run /stand/sysinstall
Upgrade (gives me a warning saying the cd is 5.4-release and what I have is 
5.3-security) and then:
Unable to transfer the base distribution from acd0

So now what? My securelevel is -1 and all filesystems are mounted rw.

br
db

Ps: Please cc to me as I am not on the list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3-5.4 (ia32) binary upgrade problem

2005-05-10 Thread db
On Tuesday 10 May 2005 23:44, you wrote:
  I have tried this with two cd's on two computers (both running 5.3).
  I've downloaded 5.4-disc1
  run /stand/sysinstall
  Upgrade (gives me a warning saying the cd is 5.4-release and what I have
  is 5.3-security) and then:
  Unable to transfer the base distribution from acd0
 
  So now what? My securelevel is -1 and all filesystems are mounted rw.

 You need to run the 5.4 sysinstall (e.g. by booting the CD), not the
 random old sysinstall you have installed that knows nothing about 5.4.
 
Ok thanks :-) .I could be wrong but I think I did the 5.2-5.3 upgrade 
like I wrote above :-S

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


no free inodes

2005-03-05 Thread db
Hi all

I have a webserver (FreeBSD 5.3 on a i386 with 512 mb ram) serving over 6000 
users pr day, but when I try to run proftpd i get:
/var: create/symlink failed, no inodes free
foo.domain.topdomain - error opening scoreboard: No space left on device

web1# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad1s1a124M 36M 78M32%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad1s1g 48G4.6G 39G11%/home
/dev/ad1s1f3.9G824M2.8G23%/usr
/dev/ad1s1d248M 82M146M36%/var
/dev/ad1s1e248M 18K228M 0%/var/tm
web1# sysctl -a | grep maxuser
kern.maxusers: 251
web1# sysctl -a | grep files
kern.maxfiles: 8072
kern.maxfilesperproc: 7264
kern.openfiles: 171
p1003_1b.mapped_files: 1
web1# sysctl -a | grep inode
 inodedep 1   128K413K 2070  128,256
FFS2 dinode: 256,0,   4170, 75, 5029
FFS1 dinode: 128,0,  0,  0,0
FFS inode:   140,0,   4170, 30, 5029
vfs.devfs.inodes: 90
vfs.devfs.topinode: 93
debug.inode_bitmap: 65

I've google and read man tuning, but I'm still unsure how to fix this. Do I 
need to reformat /var or can I fix it with sysctl?

Are there other things I should be aware of?

br
db

ps: Please Cc to me as I am not on the list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no free inodes

2005-03-05 Thread db
On Saturday 05 March 2005 14:12, Freminlins wrote:
 This means what it says - you have run out of inodes. Do df -i /var
 and you will see all your inodes have been used up.

 The number of inodes is fixed at newfs time. This really leaves you
 three options:
  1.You can either find some files on /var which are no longer wanted
 and delete them, thus freeing up inodes.
  2. You can dump the file system, and recreate it using a
 different-than-the-default inode density. man newfs and look at -i for
 full information.
  3.You evidently have lots on space on /home so move a lot of files
 (preferably a single directory containing lots of file) to /home from
 /var and symlinking it.

Oki, thanks! :-)

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


FreeBSD 5.2: could not load OpenGL subsystem

2004-01-23 Thread db
Hi group

Having installed /usr/ports/games/linux-enemyterritory/ I (of course) want to run it, 
but get:

loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1: cannot open shared 
object file: No such file or directory
failed
...
Sys_Error: GLimp_Init() - could not load OpenGL subsyst


Some info:
 pkg_info -W /usr/X11R6/lib/libGL.so.1
/usr/X11R6/lib/libGL.so.1 was installed by package XFree86-libraries-4.3.0_6

 glxinfo
name of display: :0.0
Xlib:  extension XFree86-DRI missing on display :0.0.
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
...

/etc/X11/XF86Config
...
Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  speedo
Load  type1
EndSection
...
Driver  nv
VendorName  nVidia Corporation
BoardName   NV11 [GeForce2 MX/MX 400]

/var/log/XFree86.0.log
...
(II) LoadModule: glx
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor=The XFree86 Project
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module GLcore
(II) LoadModule: GLcore
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor=The XFree86 Project
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension GLX

 glxgears
Xlib:  extension XFree86-DRI missing on display :0.0.
688 frames in 5.0 seconds = 137.600 FPS
820 frames in 5.0 seconds = 164.000 FPS


So how do I get OpenGL working?

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2: could not load OpenGL subsystem

2004-01-23 Thread db
On Fri, 23 Jan 2004 16:01:53 +
Matthew Seaman [EMAIL PROTECTED] wrote:

 Instead, install the x11/nvidia-driver port.  This is a port of the
 linux code for driving NVIDIA cards, and it overwrites the X11R6
 supplied libGL.so.1 shlib with it's own version.  Read the docs
 carefully and be prepared to fiddle about with kernel configuration in
 order to get things working.  As the driver is linux code already,
 linux programs should be able to run with it just fine. (Just remember
 to re-install the NVIDIA drivers if ever you upgrade XFree86-libs)

Yep, now it works, thanks! :-)

br
db
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]