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.
is there a way to debug my library files from DDD? Basically a way to pass the paths to DDD so I can view the source etc. I'm having a segmentation nightmare, which only crops up about every 10 or so starts, I know it's in one file in a library. I could move the source file into my general code to debug, but am sure there's a way in DDD.
running a java application in a remote site,and I would like to debug the application. I'm using jdb, and, due to network architecture, I can only use jdb do debug in text-mode. To debug in text-mode I use the command: jdb -attach remotesite: port. At this point this is ok. Now I would like to attach the source code to the jdb. I tried the command
jdb -attach remotesite: port ~/src/org/path/file.java
to attach the source code to the remote debug to. But it doesn't work. In jdb, I try the command use ~/src/org/path/file.java but it doesn't work either. How can I attach the source code to the remote debug?
I have a server (RHEL 4.7) with an mqueue that keeps growing over a two or three day interval. Then I have to manually flush the queue by removing all the mail in the spool directory as the sendmail flush command doesn't work. I've looked at the mail queue manually with a sendmail -bp command and it seems to show an occaisional mail item in the queue. On the other hand, there seems to be a lot more non-legitimate emails in the queue spool. how do I find out the source of the email in the main queue? Next, how do I stop it from building the queue? Next, is there anyway to automatically flush the queue once it builds if I need to?
I have a touchscreen panel pc that boots a version of Debian. I have very little experience with Linux in general. I need to quickly get up to speed with this operating system and Debian in general. The panel pc uses an ARM 9 processor, which I need to program to control a lighting system. I have a good back ground in C programming and embedded control. send me a link to an ISO file of Debian that I can burn and load on my main work pc.
Looking for source code packages I have configured the "Main repository (Sources)" into the yast list of repositories. However when I select the repository view in th esoftware manager it shows this repository as empty. Other repositories work. I have checked the link to the repository to be valid. I have added it automatically from the "Community repositories".
I have installed ubuntu 9.10 64-bit and MATLAB 7.3 _x86-64.When I run matlab launching script I get this error message and the program freezes:
/usr/local/matlab7.3/bin/glnxa64/MATLAB: Symbol `__kmp_test_then_add_real32' causes overflow in R_X86_64_PC32 relocation /usr/local/matlab7.3/bin/glnxa64/MATLAB: Symbol `__kmp_test_then_add_real64' causes overflow in R_X86_64_PC32 relocation.
I tried to run "matlab -nojvm" and I get the same error as above but the program starts and seems to work smoothly. The problem is that I cannot run the editor and debug scripts and functions
I am supposed to deliver my project on monday, however I am unable to lunch eclipse. For the last 6 hours I've been trying to sort out what's going on, but I am helpless Situation looks like this: Eclipse was working fine yesterday. Today I got an error and decided to reinstall. Now I can't start it. I installed it with: yum install eclipse. Here's the log:
I am using a virtual terminal red-hat and want to install eclipse for c development IDE.
1. I have java 1.6 installed previouse. the java path is configured properly.
2. I downloaded the latest eclipse helios 32bit from eclipse.org
3. I unzip the tar.gz file (eclipse-cpp-helios-linux-gtk.tar.gz)
4. in the eclipse diretory, I try to launch the eclips. but got an error: ./eclipse: /lib/i686/libc.so.6: version 'GLIBC_2.3' not found (required by ./eclipse).
I set LD_LIBRARY_PATH=/lib/i686. and no luck either.
I need to install Eclipse CDT 4.0 (or 5) for centos 5. I have the final version of centos 5.3.
I downloaded the Eclipse CDT version from here CDT 4.0 for Fedora and I tried to install the RPM as root.
# rpm -i eclipse-cdt-4.0.3-1.fc9.i386.rpm. The result for this command is: warning: eclipse-cdt-4.0.3-1.fc9.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2 error: Failed dependencies: eclipse-cvs-client is needed by eclipse-cdt-4.0.3-1.fc9.i386
since last days I am trying to run a simple c / cpp program using eclipse in my newly installed fedora 13, but every time it says either "program file not specified" or "binary error"
I downloaded the latest version of Eclipse from the Ubuntu Software Center. However, when I try to install plugins to Eclipse, nothing appears in the update list. More specifically, each plugin is "blank" but when I click on it, a full description is given. But I cannot click "next" or "finish" to install it.
However, running Eclipse as root, the list will appear as it should, and installs plugins. My question is, how can I install new software to Eclipse as user?
I was trying to install ADT plugin in eclipse in fedora 14 x86_64. But am unable to proceed.
Warning: You are installing software that contains unsigned content. The authenticity or validity of this software cannot be established. Do you want to continue with the installation? /home/a.harsh/.eclipse/793567567/plugins/com.android.ide.eclipse.adt_0.9.9.v201009221407-60953.jar /home/a.harsh/.eclipse/793567567/features/com.android.ide.eclipse.adt_0.9.9.v201009221407-60953 /home/a.harsh/.eclipse/793567567/plugins/com.android.ide.eclipse.ddms_0.9.9.v201009221407-60953.jar /home/a.harsh/.eclipse/793567567/features/com.android.ide.eclipse.ddms_0.9.9.v201009221407-60953 /home/a.harsh/.eclipse/793567567/plugins/org.eclipse.jdt.junit.core_3.6.1.r361_v20100825-0800.jar
When I press ok, I get below error Problem Occurred An error occurred while installing the items session context wasprofile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phase s.Install, operand=null --> [R]javax.servlet.jsp 2.0.0.v200806031607, action=org.eclipse.equinox.internal.p2.touchpoint. eclipse.actions.InstallBundleAction). The artifact file for osgi.bundle,javax.servlet.jsp,2.0.0.v200806031607 was not found.
Error Log Also attached. Code: !Session 2010-11-11 22:43:15.064 eclipse.buildId=M20100909-0800 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 .....
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?
I installed the Eclipse IDE using Ubuntu packages. (Version 3.5.1. Package name:eclipse).A few days back, version 3.5.2 was released. I would like to update, so I added the following websites to the list of available ones:
[URL]
I then tried with Check for Updates. While on my Mac installation this results in an update to 3.5.2, on Ubuntu the program says there is nothing to update.If I try to install manually, choosing Install New Software and the then selecting the Eclipse Platform 3.5.2, I get the following error:
Cannot complete the install because of a conflicting dependency. Software being installed: Eclipse Platform 3.5.2.M20100211-1343 (org.eclipse.platform.ide 3.5.2.M20100211-1343) Software currently installed: Eclipse Platform 3.5.1 (Eclipse Platform 3.5.1) Only one of the following can be installed at once:
[code]....
it is possible to update the packaged verison of Eclipse or if I should install the binary from the website?
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.
When I am right clicking on menu or clicking on main menu (system<preferences) nothing is opening.I tried reinstalling gnome desktop, python..and there is no use.What should I do now??I want to edit my menu.
First time poster, and a first time convert to using linux, have mainly been a Windows man but as a software dev beginning to broaden horizons using linux (and Eclipse is real fast in ubuntu!!) Anyway, my problem: 1. I have installed NX as per this form post: [URL] 2. I can log in via the tty consoles on the actual machine, and can still log in via the NX console (into a kubuntu environment), however, I am unable to log in to gnome or kubuntu via the main logon gui on the actual computer. When I do attempt to logon to gnome/kubuntu the screen flickers and I return back to the main logon GUI. 3. I have since reverted the port 55555 changes to port 22 in /usr/NX/etc/server.cfg and /etc/ssh/sshd_config - I can still NX onto the box, but point 2 is still a problem. Why I can't login via the main GUI?
I Am Having Problem With My JFS Partition On Which Ubuntu Is Installed. It Is Not Mounting. The Bootscreen Says There Is Serious Problem With Mounting The Partition And It Does Not Load Linux. I Tried jfs_fsck -p and -a But With No Success. I Also Tried Checking For Errors Using GParted. The Logscreen Said logredo failed and unrecoverable error reading M from /dev/sda5/ CANNOT CONTINUE. Is There Any Way I Can Repair This Or Atleast Get My Data Back?
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 upgraded from Ubuntu 10.0.4 to 11.0.4 on a Dell Optiplex. Now, when I boot, I am given the option to boot into different kernels. I select "ubuntu, with Linux 2.6.38-8-generic", which results in a black screen that reads
Code:
init: plymouth main process (58) killed by SEGV signal and that's where it hangs. Pressing ENTER or hitting Esc does nothing. What steps can I take to recover my machine and all the files I used to have on it?