Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Holy Crap - Installing PDT In Ganymede Even Possible?
Holy Crap - Installing PDT In Ganymede Even Possible? [message #483166] Mon, 31 August 2009 12:42 Go to next message
Eclipse UserFriend
Originally posted by: swiftsnowmane.earthlink.net

Oh. My. God.

So, I am a very new user to Eclipse. And I do certainly appreciate that as
a new user I have to learn the product, etc. But honestly - this is
getting outside the bounds of any reasonable expectation. I really would
like to get this to work, but at this point I am not sure if the hours of
time necessary is really worth it.

I am simply trying to install PDT into a fresh Ganymede install. (Ganymede
is the latest IPS package in the Solaris 2009.06 repo. It installs and
works fine by itself.) I have run into essentially endless package hell,
and I just don't see a way out.

If anyone can point me in the direction of some solution, it would be much
appreciated.

Below is a typical example of the circular unresolved dependencies I run
into, despite the repos which contain these items being enabled(!), etc.

Thank you for any input you can offer. This is extreme frustrating as a
new user - it makes me feel like this project has a long was to go, but I
truly do want to try it and have it work. I have used it on my home Suse
box and I do like it, and I am taking a class and would love to have this
work on my netbook - but having to use Ganymede is just looking like it is
not worth the hoops you have to jump through. I am amazed there is no how
to guide (that actually works) for installing PDT on Ganymede. I am
followed these to no avail:

http://www.howtoforge.com/setting-up-eclipse-pdt2.0-on-eclip se3.4-ganymede

http://wiki.eclipse.org/PDT/Installation

Cheers,
Vaga Blue

* * * * * *

Let's install PDT by adding the update repo for it (Ganymede). It goes a
bit like this . . .

Cannot complete the request. See the details.
Cannot find a solution satisfying the following requirements
org.eclipse.emf.edit.ui.feature.jar [2.4.2.v200902171115].

Searched for "EMF edit" in Eclipse install window, don't
know why it did not locate it by itself. Downloads a zillion things
for download.eclipse.org/tptp/updates/4.4.1/features

Try to install PDT again . . .

EMF Edit is already installed, so an update will be performed instead.
EMF Edit UI is already installed, so an update will be performed instead.
Cannot find a solution satisfying the following requirements
org.eclipse.emf.ecore.edit [2.4.1.v200808251517].

Okay, so install EMF Ecore . . . oh, no - wait . . .

Cannot complete the request. See the details.
EMF - Eclipse Modeling Framework Core Runtime is already installed, so an
update will be performed instead.
EMF Common is already installed, so an update will be performed instead.
EMF Ecore Edit is already installed, so an update will be performed
instead.
EMF Edit is already installed, so an update will be performed instead.
EMF Edit UI is already installed, so an update will be performed instead.
Cannot find a solution satisfying the following requirements
org.eclipse.xsd.edit.feature.jar [2.4.0.v200808251517].

Okay, so try to install the XSD editor, guess what . . .

Cannot complete the request. See the details.
Cannot find a solution satisfying the following requirements
org.eclipse.dltk.launching [0.95.1.v20080915-1703].

Okay, so install all remaining DLTK components . . . guess what?

Cannot complete the request. See the details.
Cannot find a solution satisfying the following requirements
org.eclipse.dltk.launching [0.95.1.v20080915-1703].
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #483168 is a reply to message #483166] Mon, 31 August 2009 12:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: swiftsnowmane.earthlink.net

I just wanted to add that I get the same results regardless of if I
attempt to install PDT from the upate repo, or from the downloaded
unzipped integration build method locally.

Thanks,
Vega Blue
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #483172 is a reply to message #483166] Mon, 31 August 2009 13:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: swiftsnowmane.earthlink.net

I wanted to add that I get essentially the same results regardless of if I
attempt to install PDT from the on line update repo of via a local
downloaded and unzipped stand alone package (PDT 2.1).

Thank you,
Vega Blue
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #483532 is a reply to message #483166] Tue, 01 September 2009 22:41 Go to previous messageGo to next message
exceptione is currently offline exceptioneFriend
Messages: 96
Registered: July 2009
Member
Vega Blue schreef:

> I am simply trying to install PDT into a fresh Ganymede install.
> (Ganymede is the latest IPS package in the Solaris 2009.06 repo. It
> installs and works fine by itself.) I have run into essentially endless
> package hell, and I just don't see a way out.
>
> If anyone can point me in the direction of some solution, it would be
> much appreciated.
>
Well, I don't understand why you would want to use an old version of
eclipse and on old version of pdt.

If you go to http://eclipse.org/pdt/downloads/ you can get an all-in-one
for your preferred os. unpack and run.


I even cannot find pdt 2.0.0 so it might be that you are trying to
install the newest pdt with eclipse 3.4, which would result in depedency
failures.

Note that the tutorial you posted dates from 2008-07-25 , more than a
year old.

Hope this helps :-)
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #483643 is a reply to message #483166] Wed, 02 September 2009 12:52 Go to previous messageGo to next message
Vega Blue is currently offline Vega BlueFriend
Messages: 1
Registered: September 2009
Junior Member
Hi Exceptione,

After posting the above I came to find there is now a build of 3.5 available for Solaris. I missed it at first due to it not mentioning Solaris on the main download page, but you are correct if you go to the "other downloads" link, there are builds for Sparc and x86 there. I downloaded 3.5 for Solaris x86 and was able to install PDT from the package manager first attempt. MUCH better. Wish I would have realized there were Solaris builds and not have wasted several hours - but now I know.

Thanks,
Vega Blue
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #486272 is a reply to message #483166] Thu, 17 September 2009 04:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: someone.somewhere.com

I feel for you.
Eclipse has a vertical learning/setup curve. I'm about ready to shell
out the money for Komodo or Zend IDE. I've used both; Zend is $$ but
works great and is very intuitive and stable, at least on a windows
machine. Komodo is not as nice and less stable (at least the version I
used) but setup and operation were more cooperative than Eclipse PDT
which has consumed weeks of my time.
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #486933 is a reply to message #483166] Mon, 21 September 2009 08:36 Go to previous messageGo to next message
Tom Conlon is currently offline Tom ConlonFriend
Messages: 3
Registered: September 2009
Junior Member
This finally worked for myself, so it may help others:
(Using free Zend debugger)

1. Use apache for PHP on windows.
IIS7 was simply too much of a pain and I invested a lot of time to get it to work. Although it was working on one site other issues arose that finally made my decision.

2. De-install any PHP installations.

3. Install Zend Server CE

4. Download and unzip Eclipse all-in-one PDT.

5. php.ini important values (insert your own values)
include_path=" .;C:\ZendServer\share\ZendFramework\library;C:\bin\dev\php\S marty-2.6.26\libs\ "
zend_debugger.allow_hosts=127.0.0.1,192.168.1.6
zend_debugger.expose_remotely=always
(this last value was the important one for Eclipse PDT)

6. In Eclipse menu: Window... Preferences..
PHP Executables: add 2 new entries pointing to your zend server bin folder, 1 for php.exe and 1 for php-cgi.exe (e.g. C:\ZendServer\bin\php.exe & C:\ZendServer\bin\php-cgi.exe). point value for ini file there too (eg. C:\ZendServer\etc\php.ini).
*** Make new php.exe entry the default ***.

7. For each local site version I want to be able to debug them as much as possible as if they were live. Therefore I create an entry in my windows host file of the form local.xyz.com (instead of www.xyz.com) . Then I create a virtual host for this site in apache and finally a PHP server entry in Eclipse for each site - this is used for debugging.

HTH,
Tom


Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #518360 is a reply to message #486933] Wed, 03 March 2010 21:13 Go to previous messageGo to next message
Tony  is currently offline Tony Friend
Messages: 11
Registered: September 2009
Junior Member
found this post whilst trying to set up debugging on my local windows machine.

I have Eclipse europa with pdt 1.03 (staying away from the 2.x branch until the code-complete is fixed) running on win XP, with zend server community edition 5.

Just wanted to clarify a few things - you mention adding the path to the php executables to the Zend Server instances of php - yet when i open my list of executables it has two entries to the path to the zend debugger in the eclipse plugins directory - should i add the two instances you mention as well of, or instead of these entries?

When i view my sites i too have virtual hosts set up, so i can cmd +r the site url and it looks as close to live as i can get. But you mention a php server entry for each site - i have not done this (which may be why debugging doesn't work!) - could you explain this more? I'm assuming it is setting the document root of the site in eclipse or something?

Finally, is it possible to debug using ie or firefox instead of the built-in page viewer?

thanks.
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #518389 is a reply to message #518360] Wed, 03 March 2010 23:20 Go to previous messageGo to next message
Tom Conlon is currently offline Tom ConlonFriend
Messages: 3
Registered: September 2009
Junior Member
>just wanted to clarify a few things - you mention adding the path to the php executables to the Zend Server instances of php - yet when i open my list of executables it has two entries to the path to the zend debugger in the eclipse plugins directory - should i add the two instances you mention as well of, or instead of these entries?

From memory I think they were trashed so as to keep it clean.

> When i view my sites i too have virtual hosts set up, so i can cmd +r the site url and it looks as close to live as i can get. But you mention a php server entry for each site - i have not done this (which may be why debugging doesn't work!) - could you explain this more? I'm assuming it is setting the document root of the site in eclipse or something?

Yes, under debug configurations select server, then new button (next to php server) then add values there.


> Finally, is it possible to debug using ie or firefox instead of the built-in page viewer?

Yes, absolutely, I generally use chrome for debugging, never the internal browser. When you start debugging from eclipse your external browser starts flashing (have 'Break on first line' ticked in debug configuration for the project) then you can step through aok.

Good luck
Tom

p.s.
Just for others, IIS was actually fine in the end.
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #518478 is a reply to message #518389] Thu, 04 March 2010 09:24 Go to previous messageGo to next message
Tony  is currently offline Tony Friend
Messages: 11
Registered: September 2009
Junior Member
ok, i added a new server and set the document root and path mappings, and checked the box to run the debugger in firefox. Also placed the dummy.php in document root.

Clicking the "test debug" button says everything is ok.

But when i launch the debug (from index.php) i get the message (in firefox, that's a start!):

Invalid session start URL: http://dev.mydomain.com


I also notice the url has lots of additonal query params to it, which i'd prefer not to see, but the part that sticks out the most is that is doesn't seem to serve the files from the document root, as the url is

http://dev.mydomain.com/project-mydomain/www/index.php?debug _start_url=http://dev.mydomain.com&debug_cont_session=1& amp;debug_session_id=1001&start_debug=1&debug_host=1 92.168.1.2%2C127.0.0.1&debug_no_cache=1267696011296& debug_port=10000&send_sess_end=1&original_url=http:/ /dev.mydomain.com/project-mydomain/www/index.php&debug_s top=1


Any pointers?
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #518484 is a reply to message #518478] Thu, 04 March 2010 09:39 Go to previous messageGo to next message
Tom Conlon is currently offline Tom ConlonFriend
Messages: 3
Registered: September 2009
Junior Member
try under debug configuration:

URL
uncheck autogenerate and instead put just the request to your file
e.g. /index.php

Tom
Re: Holy Crap - Installing PDT In Ganymede Even Possible? [message #518860 is a reply to message #518484] Fri, 05 March 2010 10:24 Go to previous message
Tony  is currently offline Tony Friend
Messages: 11
Registered: September 2009
Junior Member
thanks for the help.

I done that, and the url is looking better (none of the project directory and document root in the url - will all those query parameters interfere with debugging a zend framework app?) but when i run it i get a prompt to download a temp file - it doesn't debug anything? The temp file says:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>


Under the advanced tab of Debug Configuration i have checked the box "Start from this page" with mydomain.com/index.php and continue debug from this page checked.

I've tried all manner of variations and am remembering why i gave up on using eclipse for debugging.
Previous Topic:Idea in launching java project wizard
Next Topic:Short tags and autocompletion
Goto Forum:
  


Current Time: Fri Mar 29 09:02:45 GMT 2024

Powered by FUDForum. Page generated in 0.03737 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top