Lazarus

Installation => macOS / Mac OS X => Topic started by: davidshepherd on December 13, 2009, 04:15:40 am

Title: Lazarus tries to load and disappears
Post by: davidshepherd on December 13, 2009, 04:15:40 am
Argh...  Had Laz working on my macbookpro, but my hd died, so installed a new one, reinstalled 10.4 and updated it to 10.4.11.

Downloaded Laz, installed, but when it tries to start, the icon flashes on the dock and disappears. (laz .9.26.2-i386  and fpc 2.2.2-i386)

I don't even know where to begin because I'm fairly new to the mac (don't pick on me, I've been with pc's since 82, longer than some of you dudes have been alive).

Now it's probably messed up in that  I see files hanging around after I tried to uninstall, so...   help!

Why it no worky..  any ideas?

Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 13, 2009, 04:21:53 am
Oh, the fun part is, when I try to reinstall, it complains that there is a newer version already installed (not true... same version, and I took it out of apps)...  THEN, when it warns it will overwrite, it DOESN'T, but says...

You can't continue, there is nothing to install.

Hmm.... 

(and yeah, I downloaded laz several times to see if something got corrupted)

Also tried to install it with fink, which REALLY seems to have messed things up.
Title: Re: Lazarus tries to load and disappears
Post by: kamischi on December 13, 2009, 12:34:13 pm
Just to make sure: did you also install the Developer tools, i.e. Xcode? If so, check /usr/local and your home directory for traces of fpc and lazarus. Fink doesn't  help in this case, because it works in a completely separate tree of directories and does not touch anything outside.

Mischi
Title: Re: Lazarus tries to load and disappears
Post by: Jonas Maebe on December 13, 2009, 01:46:33 pm
Argh...  Had Laz working on my macbookpro, but my hd died, so installed a new one, reinstalled 10.4 and updated it to 10.4.11.

Downloaded Laz, installed, but when it tries to start, the icon flashes on the dock and disappears. (laz .9.26.2-i386  and fpc 2.2.2-i386)
Why are you using such old versions? I seem to remember that the problem you mention was solved in the latest Lazarus version (0.9.28.x). FPC is also at 2.2.4 (soon at 2.4.0).

If I remember correctly, you could world around the problem by starting Lazarus from the command line using
  /Applications/Lazarus.app/Contents/MacOS/lazarus

Quote
I don't even know where to begin because I'm fairly new to the mac
You can probably see some diagnostic information by opening /Applications/Utilities/Console.app and looking at the system log.
Title: Re: Lazarus tries to load and disappears
Post by: Phil on December 13, 2009, 05:55:56 pm
Why are you using such old versions? I seem to remember that the problem you mention was solved in the latest Lazarus version (0.9.28.x). FPC is also at 2.2.4 (soon at 2.4.0).

You can probably see some diagnostic information by opening /Applications/Utilities/Console.app and looking at the system log.

I believe there was an issue where Intel Mac builds of Lazarus would not work on Intel Mac running 10.4 because of the way it was linked against version 7 of libiconv.2.dylib - 10.4 only has version 5.

0.9.28.2 is still linked against version 7, as is my build of Lazarus from SVN, so I'm not sure that this has been fixed.

Thanks.

-Phil
Title: Re: Lazarus tries to load and disappears
Post by: marcov on December 13, 2009, 10:52:21 pm

I believe there was an issue where Intel Mac builds of Lazarus would not work on Intel Mac running 10.4 because of the way it was linked against version 7 of libiconv.2.dylib - 10.4 only has version 5.

0.9.28.2 is still linked against version 7, as is my build of Lazarus from SVN, so I'm not sure that this has been fixed.

Doesn't that depend on the buildsystem/used SDK rather than the source itself? Or is it a dynamic load?
Title: Re: Lazarus tries to load and disappears
Post by: Phil on December 13, 2009, 11:30:59 pm

I believe there was an issue where Intel Mac builds of Lazarus would not work on Intel Mac running 10.4 because of the way it was linked against version 7 of libiconv.2.dylib - 10.4 only has version 5.

0.9.28.2 is still linked against version 7, as is my build of Lazarus from SVN, so I'm not sure that this has been fixed.

Doesn't that depend on the buildsystem/used SDK rather than the source itself? Or is it a dynamic load?

You might search the forum on this topic for previous discussion.

Thanks.

-Phil
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 07:12:49 am
Why are you using such old versions? I seem to remember that the problem you mention was solved in the latest Lazarus version (0.9.28.x). FPC is also at 2.2.4 (soon at 2.4.0).

You can probably see some diagnostic information by opening /Applications/Utilities/Console.app and looking at the system log.

I believe there was an issue where Intel Mac builds of Lazarus would not work on Intel Mac running 10.4 because of the way it was linked against version 7 of libiconv.2.dylib - 10.4 only has version 5.

0.9.28.2 is still linked against version 7, as is my build of Lazarus from SVN, so I'm not sure that this has been fixed.

Thanks.

-Phil


Trying to answer everyone...   I used the 'older' version, because my research showed it was the last version that would work with osx 10.4

Yes, I did try newer version, just for fun.

Phil, thanks, if that's true, it's bad news. I can't afford to upgrade to 10.5. I'd have to pirate, and I don't feel right about that.

As for searching the forum, yup, did that. It's why I asked. Didn't see it anywhere.

If anyone has Laz working on 10.4, PLEASE let me know how you did it.
Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 07:25:00 am
Quote from: davidshepherd link=topic=8151.msg39055#msg39055

Trying to answer everyone...   I used the 'older' version, because my research showed it was the last version that would work with osx 10.4
Carbon widgetset (as well as Lazarus) is maintained to be 10.4 compatible.
If you tried the newer version on 10.4 what errors have you got?

I'm in touch with developers who're using the latest Lazarus version on 10.4 without any problems.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 08:40:57 am
Quote from: davidshepherd link=topic=8151.msg39055#msg39055

Trying to answer everyone...   I used the 'older' version, because my research showed it was the last version that would work with osx 10.4
Carbon widgetset (as well as Lazarus) is maintained to be 10.4 compatible.
If you tried the newer version on 10.4 what errors have you got?

I'm in touch with developers who're using the latest Lazarus version on 10.4 without any problems.

Hmm...   Okay, well, as soon as I figure out how to load the new version and get past the error 'you can't continue, there is nothing to install' (what a GREAT error message, btw), I'll give it another try with the newest version.

I don't recall where I read .26 was the only one that worked with 10.4, I thought it was in the download section...  ah well, thanks.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 08:49:19 am
Installed 9.28.2 and it installed...

Still disappears on startup, SO, I tried the command line version and got some errors about the library (see below).

Anyone know of a fix for this?

dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Applications/Lazarus.app/Contents/MacOS/lazarus
  Reason: Incompatible library version: lazarus requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap

Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 08:51:36 am
Quote from: davidshepherd link=topic=8151.msg39055#msg39055

Trying to answer everyone...   I used the 'older' version, because my research showed it was the last version that would work with osx 10.4
Carbon widgetset (as well as Lazarus) is maintained to be 10.4 compatible.
If you tried the newer version on 10.4 what errors have you got?

I'm in touch with developers who're using the latest Lazarus version on 10.4 without any problems.

I don't know how that is possible, given my last error message: 

dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Applications/Lazarus.app/Contents/MacOS/lazarus
  Reason: Incompatible library version: lazarus requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap

Sounds like Phil is right, and you need 10.5 to work with the newest version. I think this is why I chose to try to load .9.26.2 instead. I found somewhere that was the last version to work with osx 10.4

Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 08:58:41 am
I don't know how that is possible, given my last error message:  

dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Applications/Lazarus.app/Contents/MacOS/lazarus
  Reason: Incompatible library version: lazarus requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap
Well, It's possible with Lazarus built on 10.4 natively. (AFAIK Lazarus .dmg file is built on 10.5).

Try the following. After you've installed 0.9.28.x version, open Terminal:
Code: [Select]
cd /Developer/Lazarus
make bigide

I'm not sure if Lazarus is installed in /Developer/Lazarus path or /Developer/Applications/Lazarus.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 09:53:11 am
I don't know how that is possible, given my last error message:  

dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Applications/Lazarus.app/Contents/MacOS/lazarus
  Reason: Incompatible library version: lazarus requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
Trace/BPT trap
Well, It's possible with Lazarus built on 10.4 natively. (AFAIK Lazarus .dmg file is built on 10.5).

Try the following. After you've installed 0.9.28.x version, open Terminal:
Code: [Select]
cd /Developer/Lazarus
make bigide

I'm not sure if Lazarus is installed in /Developer/Lazarus path or /Developer/Applications/Lazarus.

Appreciate the help, but I don't know how to interpret the error I got!
Lots of errors, mostly 'command now found', but eventually:

make[1]: -iTO: Command not found
dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Developer/lazarus/ide/../tools/svn2revisioninc
  Reason: Incompatible library version: svn2revisioninc requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
make[1]: *** [revisioninc] Trace/BPT trap
make: *** [idebig] Error 2

So that's fun...

I could just develop under linux, but my macbook pro would be left out...  and it's my main puter.


Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 10:07:40 am
Quote from: davidshepherd link=topic=8151.msg39064#msg39064
Appreciate the help, but I don't know how to interpret the error I got!
Lots of errors, mostly 'command now found', but eventually:

make[1]: -iTO: Command not found
do you have XCode installed?
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 10:20:30 am
Quote from: davidshepherd link=topic=8151.msg39064#msg39064
Appreciate the help, but I don't know how to interpret the error I got!
Lots of errors, mostly 'command now found', but eventually:

make[1]: -iTO: Command not found
do you have XCode installed?

Yessir, I do.
Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 10:30:52 am
try to build Lazarus with
Code: [Select]
make
instead of
Code: [Select]
make bigide
please post console output of make command here
Title: Re: Lazarus tries to load and disappears
Post by: Jonas Maebe on December 14, 2009, 10:46:21 am

I believe there was an issue where Intel Mac builds of Lazarus would not work on Intel Mac running 10.4 because of the way it was linked against version 7 of libiconv.2.dylib - 10.4 only has version 5.

0.9.28.2 is still linked against version 7, as is my build of Lazarus from SVN, so I'm not sure that this has been fixed.

Doesn't that depend on the buildsystem/used SDK rather than the source itself? Or is it a dynamic load?

It indeed means that whoever compiled the Lazarus releases did not use the correct SDK to do so. The parameters you have to use are documented on the wiki: http://wiki.freepascal.org/OS_X_Programming_Tips#Compiling_under_10.5_for_10.4_and_below

When compiling from the command line, you have to use them as

OPT="-k-macosx_version_min -k10.4 -XR/Developer/SDKs/MacOSX10.4u.sdk/"
Title: Re: Lazarus tries to load and disappears
Post by: Jonas Maebe on December 14, 2009, 10:50:23 am
Appreciate the help, but I don't know how to interpret the error I got!
Lots of errors, mostly 'command now found', but eventually:

make[1]: -iTO: Command not found

This means that the Makefile cannot find the "fpc" binary. Add /usr/local/bin to your path and try again.
Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 10:54:55 am
OPT="-k-macosx_version_min -k10.4 -XR/Developer/SDKs/MacOSX10.4u.sdk/"
It has been fixed.

Daily snapshots (http://www.hu.freepascal.org/lazarus/) should not have the problem.
davidshepherd you can try them.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 11:31:45 am
try to build Lazarus with
Code: [Select]
make
instead of
Code: [Select]
make bigide
please post console output of make command here

Lots of 'command not found lines again', and the same lib error methinks.

Thanks for being so helpful though! I need the moral support!

make[1]: -iTO: Command not found
dyld: Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Developer/lazarus/ide/../tools/svn2revisioninc
  Reason: Incompatible library version: svn2revisioninc requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0
make[1]: *** [revisioninc] Trace/BPT trap
make: *** [ide] Error 2
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 11:41:41 am
Appreciate the help, but I don't know how to interpret the error I got!
Lots of errors, mostly 'command now found', but eventually:

make[1]: -iTO: Command not found

This means that the Makefile cannot find the "fpc" binary. Add /usr/local/bin to your path and try again.

Ah...  okay, did that, same library error at the end, but it did compile some things this time. Woo hoo! (grin)
Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 11:42:21 am
Try Lazarus daily snapshot.
Title: Re: Lazarus tries to load and disappears
Post by: Jonas Maebe on December 14, 2009, 11:43:47 am
Appreciate the help, but I don't know how to interpret the error I got!
Lots of errors, mostly 'command now found', but eventually:

make[1]: -iTO: Command not found

This means that the Makefile cannot find the "fpc" binary. Add /usr/local/bin to your path and try again.

Ah...  okay, did that, same library error at the end, but it did compile some things this time. Woo hoo! (grin)

Delete "/Developer/lazarus/ide/../tools/svn2revisioninc" and try again. It seems that somehow your IDE sources include a version of that tool compiled on a newer system.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 11:49:30 am
OPT="-k-macosx_version_min -k10.4 -XR/Developer/SDKs/MacOSX10.4u.sdk/"
It has been fixed.

Daily snapshots (http://www.hu.freepascal.org/lazarus/) should not have the problem.
davidshepherd you can try them.

Well, I had hope for a minute...  (grin).

BUT, alas, with the latest snapshot, this is the crash log:

Host Name:      david-shepherds-computer
Date/Time:      2009-12-14 05:46:21.323 -0500
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: lazarus
Path:    /Developer/lazarus/lazarus.app/Contents/MacOS/lazarus
Parent:  WindowServer [60]

Version: Lazarus IDE v0.9.28.3 beta (1)

PID:    2952
Thread: Unknown

Link (dyld) error:

Library not loaded: /usr/lib/libiconv.2.dylib
  Referenced from: /Developer/lazarus/lazarus.app/Contents/MacOS/lazarus
  Reason: Incompatible library version: lazarus requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0


Same library error, sigh...
Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 11:51:54 am
Same library error, sigh...
k, then you need to rebuild Lazarus from sources.

open Terminal:
Code: [Select]
cd ~
open -e .profile
open .MacOSX/environment.plist

make sure that /usr/local/bin is added to PATH variable (like in screenshots)

you'll also need to make sure that "fpc" and "ppc386" are present in /usr/local/bin
Code: [Select]
ls /usr/local/bin/*pc*

Reboot Mac (it's necessary after fixing ~/.MacOSX/environment.plist) and try to "make" lazarus again.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 12:10:48 pm
Appreciate the help, but I don't know how to interpret the error I got!
Lots of errors, mostly 'command now found', but eventually:

make[1]: -iTO: Command not found

This means that the Makefile cannot find the "fpc" binary. Add /usr/local/bin to your path and try again.




Ah...  okay, did that, same library error at the end, but it did compile some things this time. Woo hoo! (grin)

Delete "/Developer/lazarus/ide/../tools/svn2revisioninc" and try again. It seems that somehow your IDE sources include a version of that tool compiled on a newer system.

Well sir, very interesting.

I did that, and it compiled with 'make'.

It even RAN!

But, popped a button on a form and compiled, and it is doing odd things, like... not becoming visible.
I tried a synedit component, and it showed up the first time, but then lazarus shut down.

So something isn't right yet.

I guess I'd better uninstall everything again and start over with the newest version, rather than updating. something is giving me multiple versions... I'm guessing anyway, since deleting that one file helped get me a laz that didn't disappear with a lib error.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 12:24:45 pm
Same library error, sigh...
k, then you need to rebuild Lazarus from sources.

open Terminal:
Code: [Select]
cd ~
open -e .profile
open .MacOSX/environment.plist

make sure that /usr/local/bin is added to PATH variable (like in screenshots)

you'll also need to make sure that "fpc" and "ppc386" are present in /usr/local/bin
Code: [Select]
ls /usr/local/bin/*pc*

Reboot Mac (it's necessary after fixing ~/.MacOSX/environment.plist) and try to "make" lazarus again.

Well, that brought up other interesting things.

All of the info you mentioned is below, but not perhaps with the results you expected...  such as my not having a .profile????  surely it's hidden or something...   at any rate, enjoy. I did.

Oh, the reason the path is right, is I did the path=/usr/local/bin:$path thing in the shell already, before I ran the make.


david-shepherds-computer:~ davidshepherd$ cd ~
david-shepherds-computer:~ davidshepherd$ pwd
/Users/davidshepherd
david-shepherds-computer:~ davidshepherd$ open -e .profile
2009-12-14 06:18:56.948 open[3136] No such file: /Users/davidshepherd/.profile
david-shepherds-computer:~ davidshepherd$ open .MacOSX/environment.plist
2009-12-14 06:19:15.031 open[3137] No such file: /Users/davidshepherd/.MacOSX/environment.plist
david-shepherds-computer:~ davidshepherd$ echo $PATH
/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/sw/bin:/sw/sbin
david-shepherds-computer:~ davidshepherd$ ls /usr/local/bin/*pc*
/usr/local/bin/fpc              /usr/local/bin/fpcmake          /usr/local/bin/fpcsubst         /usr/local/bin/ppc386
/usr/local/bin/fpclasschart     /usr/local/bin/fpcmkcfg         /usr/local/bin/mkxmlrpc         /usr/local/bin/ppcppc
david-shepherds-computer:~ davidshepherd$ sudo open -e .profile
Password:
2009-12-14 06:22:27.927 open[3139] No such file: /Users/davidshepherd/.profile
david-shepherds-computer:~ davidshepherd$


Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 12:36:17 pm
.profile is optional it's used by Terminal.
can be created and edited with this commands:
Code: [Select]
touch .profile
open -e .profile
Title: Re: Lazarus tries to load and disappears
Post by: Jonas Maebe on December 14, 2009, 12:45:55 pm
open Terminal:
Code: [Select]
cd ~
open -e .profile
open .MacOSX/environment.plist

make sure that /usr/local/bin is added to PATH variable (like in screenshots)

you'll also need to make sure that "fpc" and "ppc386" are present in /usr/local/bin
Code: [Select]
ls /usr/local/bin/*pc*

Reboot Mac (it's necessary after fixing ~/.MacOSX/environment.plist) and try to "make" lazarus again.

You don't have to add anything to .MacOSX/environment.plist unless those settings have to be available in GUI applications as well (and having /usr/local/bin in your path should not be necessary for any GUI application, including Lazarus). Furthermore, you don't have to reboot after modifying that file, logging out and logging back in should be enough.
Title: Re: Lazarus tries to load and disappears
Post by: Jonas Maebe on December 14, 2009, 12:47:50 pm
All of the info you mentioned is below, but not perhaps with the results you expected...  such as my not having a .profile????

There is no default user-specific .profile file. You can just create a new one using your favourite text editor.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 12:52:43 pm
open Terminal:
Code: [Select]
cd ~
open -e .profile
open .MacOSX/environment.plist

make sure that /usr/local/bin is added to PATH variable (like in screenshots)

you'll also need to make sure that "fpc" and "ppc386" are present in /usr/local/bin
Code: [Select]
ls /usr/local/bin/*pc*

Reboot Mac (it's necessary after fixing ~/.MacOSX/environment.plist) and try to "make" lazarus again.

You don't have to add anything to .MacOSX/environment.plist unless those settings have to be available in GUI applications as well (and having /usr/local/bin in your path should not be necessary for any GUI application, including Lazarus). Furthermore, you don't have to reboot after modifying that file, logging out and logging back in should be enough.


Well, you guys are very helpful...

I finally did the 'make' including that long OPT thing... which apparently should redo laz so it uses my older lib.

And it DID, I think, in that laz now runs, and I can compile...  EXCEPT, at least I know the synedit components blow up with a memory access violation.

I'll do some forum searching on that to see wtf is up there.

Fascinating that this is such an ordeal. I guess I should not have held such a grudge against Bill Gates, if making things work is this difficult.

Thanks guys, I've learned much so far! You guys are awesome for bothering with this stuff.

David
Title: Re: Lazarus tries to load and disappears
Post by: Jonas Maebe on December 14, 2009, 12:55:11 pm
And it DID, I think, in that laz now runs, and I can compile...  EXCEPT, at least I know the synedit components blow up with a memory access violation.

In your first message you said that you were using FPC 2.2.2. Is that still the case? Current Lazarus releases are only supported with FPC 2.2.4 and later.

No FPC release has problems with running on older Mac OS X releases.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 12:56:29 pm
And it DID, I think, in that laz now runs, and I can compile...  EXCEPT, at least I know the synedit components blow up with a memory access violation.

In your first message you said that you were using FPC 2.2.2. Is that still the case? Current Lazarus releases are only supported with FPC 2.2.4 and later.

No FPC release has problems with running on older Mac OS X releases.

I updated that to 2.2.4...

Thanks man, your help is SO appreciated. Yikes, how could anyone get through this stuff without a forum and helpful folks.
Title: Re: Lazarus tries to load and disappears
Post by: Jonas Maebe on December 14, 2009, 12:59:15 pm
In your first message you said that you were using FPC 2.2.2. Is that still the case? Current Lazarus releases are only supported with FPC 2.2.4 and later.

I updated that to 2.2.4...
In that case, I can't help further anymore. I'm not a Lazarus developer...
Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 01:12:34 pm
Quote from: davidshepherd link=topic=8151.msg39093#msg39093
Fascinating that this is such an ordeal.

It really shouldn't be that hard, as it's not designed to be so.

Building Lazarus from sources is used to install additional components, and even this operation is done via GUI interface, rather than command-line.

We'll fix the .dmg
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 07:40:33 pm
Quote from: davidshepherd link=topic=8151.msg39093#msg39093
Fascinating that this is such an ordeal.

It really shouldn't be that hard, as it's not designed to be so.

Building Lazarus from sources is used to install additional components, and even this operation is done via GUI interface, rather than command-line.

We'll fix the .dmg

Umm...  okay...   

Two KNOWN problems (initially encountered anyway):

1. Do you have any idea why the synedit components cause a memory access violation?

2. Once I move a component to a form, I can resize, but no longer move the component around.

Weird.

Glad you are going to fix the .dmg though...  maybe that will solve everything for me... please please please please.


Title: Re: Lazarus tries to load and disappears
Post by: skalogryz on December 14, 2009, 07:55:34 pm
1. Do you have any idea why the synedit components cause a memory access violation?

2. Once I move a component to a form, I can resize, but no longer move the component around.
if you've installed daily snapshot, it's normal. Because daily snapshots are developer versions, and these bugs you've mentioned might be fixed in the snapshot tomorrow.
...so, maybe you need to uninstall the Lazarus again, and rebuild from sources 0.9.28.x as it's more stable or wait for another day and try newer snapshot.

Both designer and synedit has been modified recently. You just had a bad luck to download buggy snapshot. It's quite normal, such things happen.

Also. Whenever you find a bug, please provide as much information as possible. Especially for crash bugs, like access violation. One of the most valuable info for such errors is backtrace.
You can learn more about bug reporting here: http://wiki.freepascal.org/How_do_I_create_a_bug_report
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 14, 2009, 08:10:52 pm
1. Do you have any idea why the synedit components cause a memory access violation?

2. Once I move a component to a form, I can resize, but no longer move the component around.
if you've installed daily snapshot, it's normal. Because daily snapshots are developer versions, and these bugs you've mentioned might be fixed in the snapshot tomorrow.
...so, maybe you need to uninstall the Lazarus again, and rebuild from sources 0.9.28.x as it's more stable or wait for another day and try newer snapshot.

Both designer and synedit has been modified recently. You just had a bad luck to download buggy snapshot. It's quite normal, such things happen.

Also. Whenever you find a bug, please provide as much information as possible. Especially for crash bugs, like access violation. One of the most valuable info for such errors is backtrace.
You can learn more about bug reporting here: http://wiki.freepascal.org/How_do_I_create_a_bug_report


Ah, thank you... okay, will do bug report, and also recompile the older laz.  I 'think' I have a script off the wiki that will uninstall it all in one shot.
Title: Re: Lazarus tries to load and disappears
Post by: davidshepherd on December 15, 2009, 02:25:59 am
Ignore question, I found the answer...  the crazy installer doesn't think there is anything to install if there is something already in 'receipts'.   Yes, I am a newbie to this osx thing.

Thanks for the incredible help here though, and huge kudos to the guys who answered me patiently and with that thing called knowledge.



if you've installed daily snapshot, it's normal. Because daily snapshots are developer versions, and these bugs you've mentioned might be fixed in the snapshot tomorrow.
...so, maybe you need to uninstall the Lazarus again, and rebuild from sources 0.9.28.x as it's more stable or wait for another day and try newer snapshot.
[/quote]

This is still fun...  uninstalled laz and fpc, by running uninstall script on wiki. Turns out it didn't touch /developer/lazarus, so I added it to the script.

But interestingly, when trying to install the older .9.28.2, I get this neat error saying there is nothing to install (after installer complains I am installing over a newer version, so it pretends it's going to let me, even though I can't find a trace of lazarus anywhere).

Any thoughts anyone?   I tried the latest snapshot from today, but it's still 'bad' for synedit and moving components on forms.
TinyPortal © 2005-2018