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.
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.
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
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?
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= ...
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.
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).
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?
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
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.
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?
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.
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:
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]
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.
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.
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
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;
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.
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..)