NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
installing dbg on freebsd


Joined: 15 Jun 2006
Posts: 1
Reply with quote
I have a problems with installing dbg 2.13.1 on freebsd 6.1 with php 5.1.2
This is my configuration:
Quote:

su-2.05b# ./configure --enable-dbg=shared --with-dbg-profiler\
> --with-php-config=/usr/local/bin/php-config\
> --prefix=/usr/local


And here is the result from make and make install:
Quote:

su-2.05b# make
/bin/sh /home/saiman/Desktop/dbg-2.13.1/libtool --mode=install cp ./dbg.la /home/saiman/Desktop/dbg-2.13.1/modules
cp ./.libs/dbg.so /home/saiman/Desktop/dbg-2.13.1/dbg.so
cp ./.libs/dbg.lai /home/saiman/Desktop/dbg-2.13.1/dbg.la
libtool: install: warning: remember to run `libtool --finish /home/saiman/Desktop/dbg-2.13.1/modules'

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

su-2.05b# make install
/bin/sh /home/saiman/Desktop/dbg-2.13.1/libtool --mode=install cp ./dbg.la /home/saiman/Desktop/dbg-2.13.1/modules
cp ./.libs/dbg.so /home/saiman/Desktop/dbg-2.13.1/dbg.so
cp ./.libs/dbg.lai /home/saiman/Desktop/dbg-2.13.1/dbg.la
libtool: install: warning: remember to run `libtool --finish /home/saiman/Desktop/dbg-2.13.1/modules'
*** Error code 1
Stop in /home/saiman/Desktop/dbg-2.13.1.


Im accpeting all ideas. Thanks in advance!
View user's profileFind all posts by saimanSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I not sure what you're trying to achieve with make install.
There is no make install that could install the module.
It's an omission in php building scripts.
Just take dbg.so in modules and do what is necessary to do Smile
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 31 Jan 2007
Posts: 1
Reply with quote
I was able to do a make install, but first had to modify the configure statement, and some permissions.

chmod 775 build/*
./configure --enable-dbg=shared --with-dbg-profiler --with-php-config=/usr/local/bin/php-config --prefix=/usr/local/lib/php --with-libtool=/usr/local/bin/libtool
make
make install

but now, I cannot telnet to localhost 7869...
howevery, dbg does show up in phpinfo();
View user's profileFind all posts by avidanSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
a common mistake.
Debugger module is not supposed to listen on any ports.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
installing dbg on freebsd
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic