Software :: Set Up Eclipse To Build And Debug PHP/PECL?

Apr 17, 2011

It's been a very long time since I did much C development and I'm trying to contribute to a PECL extension for PHP. PHP and the PECL extensions are written in C and I'd like to set up my dev environment so that I can use a nice IDE (like Eclipse) and debug my code, stepping through it within a nice GUI. I'm hoping to develop on a linux box (Ubuntu 10) rather than Windows.

The main issue I have is that I don't know how to configure Eclipse (with CDT) so that it runs the entire process: configure/make/make install and then allows me to step through my code within the Eclipse GUI IDE. I have managed to edit files and then build from the command line and then use GDB to step through the code, but that's *REALLY* tedious.

Also, the PHP source codebase is quite large and takes several minutes to build. I'm hoping I might be able to limit the build to just one particular extension rather than rebuilding the whole things. Lastly, I'd like to avoid installing the new, possibly broken, code in order to run it. Unless I'm mistaken, the build process results in a binary being constructed in the source directory and I'd like to debug using that new binary before I bother to install it on my system. Sorry if these questions seem really basic. Like I said, it's been awhile and I'm hoping to get back on the horse quickly.

View 4 Replies


ADVERTISEMENT

Programming :: Debug In Eclipse As Root?

Jun 16, 2010

debug my code as root in eclipse without starting the eclipse as root? I searched on the net, and seems like it is not possible.

View 4 Replies View Related

Programming :: Debug App Built By Libtool Using Eclipse?

Oct 17, 2010

I am trying to debug a src code that I download from the Internet.It is built with libtool. I am able to debug it with gdb, but i cannot debug it with eclipse.

View 3 Replies View Related

General :: Use Eclipse To Compile And Debug Source Code On Ns-2 Simulator?

Dec 13, 2010

I want to use eclipse to compile and debug source code on ns-2 simulator.

1.how can i configure the parameter on eclipse.

2.how can i compile the source code *.cc

View 3 Replies View Related

Programming :: Ant Build.xml File For Eclipse?

Mar 26, 2011

I've spent all day trying to figure how to write an ant build.xml file for eclipse. I must have read 20 sites on the web but some how I just am missing it I continue to get the error

Code:
/home/knox/workspace/HW/src/projectBuilder.xml:5: the file attribute is required
here is my file at this point after many variations
Code:
<?xml version="1.0" encoding="UTF-8"?>

[Code]...

It works fine if I leave out the Main-Class line in manifest but then the jar is not executable Dick

View 3 Replies View Related

Software :: Unable To Debug Ns-2.34 In Eclipse Due To "No Source Available For Main()"

Jun 25, 2011

I am using Eclipse IDE for C/C++ Developers under Linux/fedora to run and debug my ns-2.34 project. To configure ns-2.34 with eclipse I did this:

Code:
File > New C++ Project
Project name: ns-2.34
Uncheck:use default location
Project Location:...ns-allinone-2.34/ns-2.34

[Code]....

View 10 Replies View Related

OpenSUSE :: When Open Project In Code Blocks And Click Build And Run, It Pop Out Debug Report And Exit After That?

Sep 3, 2011

When i open project in code blocks and click build and run, it pop out debug report and exit after that

View 3 Replies View Related

Software :: Linking In A LKM To User Space In An Eclipse Project Build?

Jun 25, 2009

I have written a PCI LKM device driver that compiles and loads correctly via #insmod libfoo.ko. When # dmesg | less is run I get good results and no errors in the log. The LKM header file is visible in the eclipse workspace.how do I attach (link) this loaded LKM in a eclipse project so that the LKM driver functions are visable?

View 2 Replies View Related

Programming :: Got "Build Failed" When Making Debug With Mono Developer?

Feb 23, 2010

I've installed mono developer, but when I want to make debug I got this message : Build failed. ApplicationName='/usr/bin/gmcs', CommandLine='"@/tmp/tmp17a7a5e2.tmp"', CurrentDirectory= ...

View 1 Replies View Related

Ubuntu :: Eclipse Plugins Don't Work / Doesn't Install A Bunch Of Libraries And Eclipse Cannot Recognize Standard Java Files?

Jan 19, 2010

I have been using Eclipse to program in Java for a long time, and have been using Jigloo for most of my GUI design. Recently I decided to try out the C/C++ plugin. I tried installing it, but it did not work. After many attempts, I finally gave up. However, after uninstalling it I found that Jigloo had stopped working. Any other plugins I try to install now also don't work. I have tried uninstalling and reinstalling plugins, and reinstalling eclipse, but nothing I have done fixes it. Although eclipse says that the software has been installed, nothing shows up in the features list or the plugins list.

Another problem: When I install eclipse from the repositories, it doesn't install a bunch of libraries and eclipse cannot recognize standard java files.

View 4 Replies View Related

Programming :: Eclipse PDT 2.0 Versus Zend Studio For Eclipse

Jan 28, 2009

I have been writing PHP using Adobe Dreamweaver; I have been looking around for an application that focus more in PHP.I have found:

[URL]

and:

[URL]

I know Zend stands behind PHP and that Eclipse is a popular open source IDE. What is the difference tho?Is the PDT Project only a functionality that could be added to Eclipse IDE? Is Zend for Eclipse a stand alone IDE for PHP? if so, Why the Eclipse in the name? I have downloaded Zend Studio for Eclipse, so far it seems very complete (no that have learned how to use all its features).

View 1 Replies View Related

Programming :: Metrics Plug-in For Eclipse - Does It Support Eclipse CDT

Sep 17, 2010

The Metrics plug-in supports Java development well at Eclipse.

[URL]

I would like to know if it supports Eclipse CDT, so I can use it with my C++ project. Any thought? If it doesn't support CDT, is there any good static code analysis tools available for Eclipse CDT?

View 1 Replies View Related

Fedora :: PHP PECL Package: DBase Not Available?

Jan 14, 2010

I need dBase support in PHP but in fedora 12 there is no package. yum install php-pecl-dbase gives: No package php-pecl-dbase available. Nothing to do

View 1 Replies View Related

Ubuntu Servers :: Cannot Install Pdo From Pecl

Feb 9, 2010

I have installed PHP5 for 9.10 and am trying to install PDO via pecl and am having no luck.

[Code]...

View 4 Replies View Related

General :: Install PECL Uploadprogress Through Shh?

Jul 18, 2011

im tryin to install PECL uploadprogress through shh and i keep getting this error i dont know why could

Code:
[root@~]# pecl install uploadprogress
WARNING: channel "pecl.php.net" has updated its protocols, use "channel-update pecl.php.net" to update
downloading uploadprogress-1.0.1.tgz ...
Starting to download uploadprogress-1.0.1.tgz (8,536 bytes)
done: 8,536 bytes

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Denver' for 'MST/-7.0/no DST' instead in PEAR/Validate.php on line 489

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Denver' for 'MST/-7.0/no DST' instead in /usr/share/pear/PEAR/Validate.php on line 489
4 source files, building

[Code]...

View 1 Replies View Related

Software :: Installing Zip Extension Using PECL

Oct 27, 2010

I'm trying to install php zip extension through pecl, issuing the following command pecl install zip but I'm getting the following error:
Quote:
running: make
/bin/sh /var/tmp/pear-build-joao/zip-1.10.2/libtool --mode=compile cc -I. -I/var/tmp/zip -DPHP_ATOM_INC -I/var/tmp/pear-build-joao/zip-1.10.2/include -I/var/tmp/pear-build-joao/zip-1.10.2/main -I/var/tmp/zip -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/zip/php_zip.c -o php_zip.lo .....
make: *** [php_zip.lo] Error 1
ERROR: 'make' failed

View 2 Replies View Related

Ubuntu :: Eclipse Not Opening Files In Eclipse?

Sep 11, 2010

I recently had to reinstall Eclipse on ubuntu 10.10 and i did it twice, once just removing eclipse package, and the second time removing every package associated with an eclipse install.when i launch eclipse I go into my package view and select a package and then double click on a Java file.

View 5 Replies View Related

Slackware :: Install Eclipse CDT Is A Plug-in For Eclipse?

Sep 12, 2010

I use Slackware64 13.1. I installed eclipse from slackbuild.But how can I install Eclipse CDT? is a plug-in for eclipse? It's another program?

View 4 Replies View Related

Ubuntu Servers :: PECL Error On Mail Server ?

May 27, 2011

I am currently installing a mail server to handle email for our clients, I have started this server from scratch using Ubuntu server 11.04.

So far I've installed Exim, SA, Dovecot, and Clam AV and those all seem to be working as they should, I can send and receive email...

I am now trying to set up Horde, Horde 4 to be exact, I have been following the documentation on the Horde site :[url]

Part 4, it is recommended to install certain PECL modules, and I would like these as well.

I have been try to get these to go, but just can't get past some of the error messages like this, for the first one:

Cannot find config.m4.

Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

ERROR: `phpize' failed

Does any one know what this error mean. From what I can gather, it's looking for the phpize when the module is to be installed, however, how can I put the phpize file (or link) in the top level of the source directory before I have the source?

View 5 Replies View Related

CentOS 5 :: Install A PECL Module Imagick Into XAMPP?

May 24, 2011

I'm trying to install a PECL module imagick into XAMPP, but it's not showing up on phpinfo();

The steps I've taken so far

1. Compiled Image Magick from source

2. Compiled imagick PECL module from source

3. Copied the .so files magicwand.so and imagick.so from /usr/lib/php/modules/ to /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613

4. added
extension=imagick.so
extension=magickwand.so

View 1 Replies View Related

Fedora :: PHP PECL Package - Gmagick Config File Not Found

Dec 29, 2009

I've been trying to install the gmagick extension for days now without success. I always end up with the same error message:

checking GraphicsMagick configuration program... configure: error: not found. Please provide a path to GraphicsMagick-config program.
ERROR: '/tmp/pear/temp/gmagick/configure --with-gmagick' failed

It's no wonder why I get this message as the location simply does not exists, its being unpacked to 'gmagick-1.0.3b2' and not 'gmagick'. I've tried to copy/paste the configuration file (config.m4?) to my manually created 'gmagick' directory within the temp folder but that didn't solve anything.

Command when installing:
Code:
pecl install gmagick-1.0.3b2
I'm running Fedora 12.

View 3 Replies View Related

Fedora :: Download / Installing Eclipse Returning "no Package Eclipse Available"

May 13, 2011

I am new to Fedora (I have always used ubuntu in the past), and I am trying to download eclipse. Unfortunately, "sudo yum install eclipse" is returning "no package eclipse available". I think this means that I am missing the correct repo, but I'm not sure which is the right one and don't know how to add it to my repo list for this version. My version of fedora is centos5 based, and my current repo list is the following:

[Code]...

View 4 Replies View Related

Ubuntu Servers :: Eclipse And Tomcat Are Running But Can't See Tomcat In The Eclipse

Sep 1, 2010

I installed eclipse and tomcat with package manager. Eclipse and tomcat are running but i can't see tomcat in the eclipse. I just see 'Basic' folder. That is a screenshot [URL]

View 1 Replies View Related

OpenSUSE :: Find All The Build-deps Or What They Are For That Matter To Build Boxee

Feb 20, 2010

I'm in love with my Opensuse 11.2. Love my KDE 4.4. The only thing I miss from my Ubuntu installation, is the ability to use Boxee. I would be more than willing to compile Boxee from source. I only have 2 problems with that:

1) I don't know where I can find all the build-deps or what they are for that matter to build Boxee.

2) I'm running on a Netbook. Yes, my measly Intel Atom is no fun for compiling and building.

What are my options/what can I do to get Boxee up and running on 11.2? I've tried searching on build service for an RPM, but I think due to legal restrictions, Boxee can't be on there.

View 9 Replies View Related

OpenSUSE :: Build Libevent-dev 2.0.10 In Ooder To Build New Version Of Transmission?

Feb 16, 2011

looking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met: In order to build transmission 2.21.I need libeventnew version of transmission,I need to build libevent-dev >= 2.0.10 and installed first.But I can't get any information about building development files for libevent.

View 1 Replies View Related

Software :: Self Build Rpm Fails With Missing Dependencies On Build Host?

Sep 24, 2009

as I'm advancing in building some nice rpm I finally wanted to install on of my gems also the build was successful the actual install fails with missing dependencies.

Code:

$ rpm --root /home/sascha/rpmbuild/ -i ./RPMS/x86_64/memcached-1.4.1-2.x86_64.rpm
error: Failed dependencies:
libc.so.6()(64bit) is needed by memcached-1.4.1-2.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by memcached-1.4.1-2.x86_64

[code]....

View 1 Replies View Related

Ubuntu Security :: Script Running As A Special Build User Which Performs An Automated Build That Fails With (Too Many Open Files)?

Feb 11, 2011

I have an init script running as a special build user which performs an automated build that fails with (Too many open files).I updated /etc/security/limits to allow the special user more open files, but that didn't work - the init script still isn't allowed more open files.Here's a demonstration of the problem;

Code:
$ su - sbsbuild -c "ulimit -n"
Password:

[code]....

View 1 Replies View Related

Slackware :: Install The I386 Build On One Partition And The 64-bit Build On Another

Sep 16, 2010

Trying to install SW 13.1 (on DVD) on the following system: M/B Intel: DX38BT Processor Intel Core 2 Quad Q6700 - 2.66GHz, 8MB Cache, 1066MHz FSB, Socket 775 Memory Corsair Dual Channel 8192MB PC10600 DDR3 1333MHz Memory (4x2048MB) Graphics Diamond Radeon HD 3850 Video Card - Viper, 512MB GDDR3, PCI Express 2.0 P/S Ultra 1000W

My goal is to install the i386 build on one partition and the 64-bit build on another. I have been away from Linux for a while and am sick to death of Win7, want to come home. :-}

Booted on i386 side of DVD, system freezes after a couple of lines that start with ATA2. Does not respond to 3 finger salute, ctrl-c, nothing. Have to press reset. I have tried both huge.s and hugesmp.s kernels

Booted on 64-bit side, comes up fine. I performed the install, selected for automatic lilo install. Lilo install hung but I was able to reboot. I booted off the 64-bit side again, entered the following: huge.s root=/dev/sde3 rdinit= ro It booted fully to the login prompt but the keyboard does not work, no input.

View 2 Replies View Related

OpenSUSE :: Ant Build.xml Does Not Exist - Build Failed

Apr 19, 2011

Ant was installed in yast2 but will not run since build.xml was never created. How can this be fixed? I would like to run AudioTool.

View 5 Replies View Related

OpenSUSE Install :: Build A Multiseat System (Build A Six-headed Six-user System LG #124)

Oct 1, 2010

I am trying to build a multiseat linux system(Build a Six-headed, Six-user Linux System LG #124). I am posting some outputs output of lspci | grep VGA

Code:
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 6150SE nForce 430] (rev a2)
02:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)
ls /dev/input/mouse*
Code:
/dev/input/mouse0 /dev/input/mouse1 /dev/input/mouse2
more /proc/bus/input/devices

[Code]...

I am having trouble in configuring xorg.conf. I am running Suse 11.3 desktop on my PC. Also, I have one onboard nvidia graphics 6150SE and I have put one nvidia 8400GS 512Mb in the 16X PCIe slot for the additional seat...

So kindly tell me what should I do now or what things are missing ?? For any further info abt my PC plz tell me to post outputs(specify the commands for the same..)

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved