NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
My success with gcc 3.x, pcre, Debian


Joined: 08 Oct 2004
Posts: 1
Reply with quote
I use debian, and decided to install dbg-cli to see if I could use it's profiler. It turns out the profiler's not accessible from the CLI from what I can tell.

Anyway, was successful in getting it to build with the pcre on my system, and gcc 3.x which has been in debian for a while now.

Steps:

1. apt-get install php4-dev libpcre-dev
2. uncompress the dbg-cli source
3. modify the deferphpize script to find phpize in /usr/bin instead of /usr/local/bin.
4. run ./configure
5. modify dbgbase/UrlParse.cpp - put extern "C" around the pcre includes ... this part perhaps unnecessary
6. modify Makefile.in
- remove "pcre" from SUBDIRS line
7. rm -rf pcre
8. modify dbg/Makefile
9. change -lpcre to -lpcreposix
10. sudo make install

It works fine with remote debugging, but I had to set localroot and remoteroot to / even though the apache servers are running on an unpriviledged port in my home directory. Perhaps that indicates that pcre wasn't working as intended, I don't know.
View user's profileFind all posts by svanegmondSend private message
My success with gcc 3.x, pcre, Debian
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