Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-09

(no subject)

20 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Schnell

Hi experts,

Using (nearly) the current trunk fpc, when checking out Lazarus and doing "make clean all" get:

......
Compiling debugmanager.pas
debugmanager.pas(63,3) Error: Duplicate identifier "GDBMISERVERDEBUGGER" debugmanager.pas(63,3) Error: Duplicate identifier "GDBMIServerDebugger" ...
make: *** [ide] Error 2

What am I doing wrong ?

Thanks,
-Michael

Reply by email

Mattias Gaertner
to Michael Schnell
Show quoted text 13 lines
Hi experts, Using (nearly) the current trunk fpc, when checking out Lazarus and doing "make clean all" get: ...... Compiling debugmanager.pas debugmanager.pas(63,3) Error: Duplicate identifier "GDBMISERVERDEBUGGER" debugmanager.pas(63,3) Error: Duplicate identifier "GDBMIServerDebugger" ... make: *** [ide] Error 2 What am I doing wrong ?

It works here. Maybe you were unlucky and got a bad revision.

Mattias

Reply by email

Michael Schnell
to Mattias Gaertner
Mattias Gaertner wrote
It works here. Maybe you were unlucky and got a bad revision.

Seems so. :-(

I deleted "trunk" and re-checked-in everything.

After that make did work without an error message.

But when starting the newly created ide, now I get a message that it can't find the ide sources.

I did check that the directory it assumes ( /trunk/ide ) in fact does contain "lazarus.lpi" as suggested.

any more pointers ?

Thanks,
-Michael

Reply by email

Mattias Gaertner
to Michael Schnell
Show quoted text 11 lines
On 09/20/2013 10:35 AM, Mattias Gaertner wrote: > It works here. Maybe you were unlucky and got a bad revision. Seems so. :-( I deleted "trunk" and re-checked-in everything. After that make did work without an error message. But when starting the newly created ide, now I get a message that it can't find the ide sources.

"ide sources"?

The IDE needs the lazarus sources, not only the ide sources.

I did check that the directory it assumes ( /trunk/ide ) in fact does contain "lazarus.lpi" as suggested. any more pointers ?

Mattias

Reply by email

Michael Schnell
to Mattias Gaertner
Mattias Gaertner wrote
The IDE needs the lazarus sources, not only the ide sources.

Of course.

"It says "the Lazarus Directory contains the sources of the ide and the package files......"

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130920/fceee4f1/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: gceeijic.png
Type: image/png
Size: 36275 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130920/fceee4f1/attachment-0001.png>

Reply by email

Mattias Gaertner
to Michael Schnell
Show quoted text 7 lines
On 09/20/2013 11:46 AM, Mattias Gaertner wrote: > The IDE needs the lazarus sources, not only the ide sources. Of course. "It says "the Lazarus Directory contains the sources of the ide and the package files......"

Does your folder contain a file "ide/lazarus.lpi"?

Mattias

Reply by email

Michael Schnell
to Mattias Gaertner
Mattias Gaertner wrote
Does your folder contain a file "ide/lazarus.lpi"?

yep:

mschnell at mschnell-Linux:~/Downloads/svn/lazarus/trunk/ide> ls -l lazarus.lpi
-rw-r--r-- 1 mschnell users 32253 Sep 20 10:57 lazarus.lpi

Reply by email

patspiper
to Michael Schnell: Of course. "It says "the Lazarus Directory contains the sources of the ide and the…
Michael Schnell wrote 9 lines
On 09/20/2013 11:46 AM, Mattias Gaertner wrote: > The IDE needs the lazarus sources, not only the ide sources. Of course. "It says "the Lazarus Directory contains the sources of the ide and the package files......"

Shouldn't that have been ....../svn/lazarus/trunk?

Stephano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130920/e03e3e84/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 36275 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130920/e03e3e84/attachment-0001.png>

Reply by email

Michael Schnell
to Michael Schnell

Grrr

After browsing to the correct folder, it did start, but it threw an exception when loading a recent project.

When restarting I now get:

Seemingly it changed the path I browsed to into a relative path. But that does not seem to work correctly.

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130920/d2d22204/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: acacjghd.png
Type: image/png
Size: 35789 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130920/d2d22204/attachment-0001.png>

Reply by email

Mattias Gaertner
to Michael Schnell: yep: mschnell at mschnell-Linux:~/Downloads/svn/lazarus/trunk/ide> ls -l lazarus.lpi…
Show quoted text 7 lines
On 09/20/2013 12:08 PM, Mattias Gaertner wrote: > Does your folder contain a file "ide/lazarus.lpi"? yep: mschnell at mschnell-Linux:~/Downloads/svn/lazarus/trunk/ide> ls -l lazarus.lpi -rw-r--r-- 1 mschnell users 32253 Sep 20 10:57 lazarus.lpi

And what folder contains the "ide/lazarus.lpi"?

Apparently if the dialog would ask for a directory containing "lcl/interfaces/lcl.lpk" you would give "trunk/lcl/interfaces".

Mattias

Reply by email

Mattias Gaertner
to Michael Schnell: Grrr After browsing to the correct folder, it did start, but it threw an exception when…
Grrr After browsing to the correct folder, it did start, but it threw an exception when loading a recent project.

There was a bug in revsions 42889-42893.

Show quoted text 8 lines
When restarting I now get: Seemingly it changed the path I browsed to into a relative path. But that does not seem to work correctly.

I don't know any place in the IDE where the Lazarus directory is changed to a relative path.

Mattias

Reply by email

Michael Schnell
to Mattias Gaertner
Mattias Gaertner wrote
I don't know any place in the IDE where the Lazarus directory is changed to a relative path.

I gather I did change it after - because of the failed checkout - I git the error message the first time.

But I understand I did now correctly browse to the ..../lazarus directory, and it does not work nonetheless.

-Michael

Reply by email

Mattias Gaertner
to Michael Schnell
Show quoted text 9 lines
On 09/20/2013 12:39 PM, Mattias Gaertner wrote: > I don't know any place in the IDE where the Lazarus directory is > changed to a relative path. I gather I did change it after - because of the failed checkout - I git the error message the first time. But I understand I did now correctly browse to the ..../lazarus directory, and it does not work nonetheless.

Your screenshot says the directory lcl was not found. Is it there?

Mattias

Reply by email

Michael Schnell
to Mattias Gaertner
Mattias Gaertner wrote
Your screenshot says the directory lcl was not found. Is it there?

Yep:

mschnell at mschnell-Linux:~/Downloads/svn/lazarus/trunk> ls -l lcl total 4108
-rw-r--r-- 1 mschnell users 12948 Sep 20 10:58 actnlist.pas -rw-r--r-- 1 mschnell users 1787 Sep 20 10:58 alllclunits.pp -rw-r--r-- 1 mschnell users 5565 Sep 20 10:58 arrow.pp -rw-r--r-- 1 mschnell users 3057 Sep 20 10:58 asyncprocess.pp

But you are right. This screenshot showed that it was searched for within the lazarus directory and not within the lazarus/trunk dir.

Seemingly the setting it has not been saved correctly due to the crash.

Now it works. after I left lazarus before I tried to load a recent project and got a crash.

After another checkout the ide crash is gone, as well.

Thanks for your help (In fact I should more thoroughly read the error messages :-[ )

-Michael

Reply by email

Graeme Geldenhuys
to Michael Schnell: Of course. "It says "the Lazarus Directory contains the sources of the ide and the…
Michael Schnell wrote
"It says "the Lazarus Directory contains the sources of the ide and the package files......"

Incidentally, I got the exact same error when I downloaded the latest Lazarus Trunk. I copied my latest 'lazarus' binary into the new checkout folder, so I could recompile the latest lazarus using Lazarus IDE.

I just ignore the error and clicked "starte ide". I then did a "Tools - Build IDE" and it worked fine from there onwards. Go figure.

I am now running Lazarus 1.3 r42869 FPC 2.6.2 i386-win32-win32/win64

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 9 lines
On 2013-09-20 10:59, Michael Schnell wrote: > > "It says "the Lazarus Directory contains the sources of the ide and the package > files......" Incidentally, I got the exact same error when I downloaded the latest Lazarus Trunk. I copied my latest 'lazarus' binary into the new checkout folder, so I could recompile the latest lazarus using Lazarus IDE.

What error did you get exactly?
You should get a version mismatch warning.

I just ignore the error and clicked "starte ide". I then did a "Tools - Build IDE" and it worked fine from there onwards. Go figure. I am now running Lazarus 1.3 r42869 FPC 2.6.2 i386-win32-win32/win64

Mattias

Reply by email

Graeme Geldenhuys
to Mattias Gaertner: On Fri, 20 Sep 2013 14:06:10 +0100 What error did you get exactly? You should get a…
Mattias Gaertner wrote
What error did you get exactly?

The directory selected is not a lazarus [or lcl - can't remember] directory. I knew it was, so I ignored the error and clicked the 'Start IDE' button.

ps #1:
I did a checkout from the Git mirror repository. Maybe the startup wizard checks for SubVersion specific files?

ps #2:
I'm not referring to the version change message, where it mentions using the --pcp parameter. I knew that was going to happen, so before I started the IDE, I made a copy of my lazarus profile directory and setup the desktop shortcut to reference the new (trunk) profile directory. When the popup message appeared, I could safely say "upgrade the profile", and my original v1.0.8 setup would be untouched.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 6 lines
On 2013-09-20 14:36, Mattias Gaertner wrote: > > What error did you get exactly? The directory selected is not a lazarus [or lcl - can't remember] directory.

There must be a more specific error message than this. For example 'directory %s not found'.

Show quoted text 6 lines
I knew it was, so I ignored the error and clicked the 'Start IDE' button. ps #1: I did a checkout from the Git mirror repository. Maybe the startup wizard checks for SubVersion specific files?

No. It works with the installer, which has no svn files.

It checks if the following directories exist
lcl, packager/globallinks, ide, components.
It checks the file ide/lazarus.lpi.
Then it reads ide/version.inc and checks the version.

Show quoted text 7 lines
ps #2: I'm not referring to the version change message, where it mentions using the --pcp parameter. I knew that was going to happen, so before I started the IDE, I made a copy of my lazarus profile directory and setup the desktop shortcut to reference the new (trunk) profile directory. When the popup message appeared, I could safely say "upgrade the profile", and my original v1.0.8 setup would be untouched.

Mattias

Reply by email