Lazarus wont start up

hi there ppl, forgive me if i have put this thread in the wrong section…

problem is, i have installed Lazarus(got no error during setup), but when i try to start it up nothing happens…

i danced with google about 2 days before asking ur help so do not try to send me back to google before answering :slight_smile:

i have checked all requiremnts all libs gtk etc i have them all, but still it wont run.

I am using suse 11.4 as OS

and these are the packages: fpc-2.4.2-0.x86_64.rpm
fpc-src-2.4.2-0.x86_64.rpm
lazarus-0.9.30-0.x86_64.rpm

On 08/03/2011 04:36 PM, rasselzzz wrote:

> problem is, i have installed Lazarus(got no error during setup), but
> when i try to start it up nothing happens…

if you type lazarus in a terminal and press enter, what happens?
copy paste that back to here, please

> i have checked all requiremnts all libs gtk etc i have them all, but
> still it wont run.

how did you install lazarus…
are you running in bare metal or in a VM?
what is you desktop environment?

> I am using suse 11.4 as OS

is that openSUSE 11.4?
is it updated? have you installed anything from any repo with factory,
unstable or tumbleweed in its name?

i ask these questions because i just now installed the 32 bit version of
lazarus-0.9.30-0, and it started right up, the terminal output was:


denverd@linux-h7xq:~> lazarus
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/denverd/.lazarus"
SecondaryConfigPath="/etc/lazarus"
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults
TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc"
FileAge=1305561359 StoredAge=0
TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=i386
CompilerOptions= ExtraOptions=
PATH=/usr/lib/mpi/gcc/openmpi/bin:/home/denver11.4d/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/sbin:/usr/sbin
RunTool /usr/bin/fpc -iTOTP -Pi386 -Tlinux
RunTool /usr/bin/fpc -va -Pi386 -Tlinux compilertest.pas
TFPCTargetConfigCache.Update: has changed
TFPCSourceCache.Update /home/denver11.4d has changed.
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the
component is processing an event?
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END


DD
Caveat-Hardware-Software
openSUSE®, the “German Engineered Automobiles” of operating systems!

if you type lazarus in a terminal and press enter, what happens?
copy paste that back to here, please

terminal says first : lazarus

If ‘lazarus’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf lazarus

terminal says : cnf lazarus

lazarus: command not found

how did you install lazarus…
are you running in bare metal or in a VM?
what is you desktop environment?

i have install it in diffre. way… fist just clicking on packages, then via terminal, then added to repositor and via soft, manager.

is that openSUSE 11.4?

KDE 4.7 and its all updated

NOW… let me share with u some stuff i discovered while i was waiting ur answer… i have red on lazarus site how to install lazarus on opensuse they suggest these packages :

    fpc-2.4.2-0.i686.rpm (yes i686 and not i386)
    fpc-src-2.4.2-0.i686.rpm
    lazarus-0.9.30-0.i686.rpm 

but, when i installed them i was unable to compile.

ps are u suggesting to install 32 bit vers ?

well after i installed 32 vers. and tryed to compile here is the output

/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.5/crtbegin.o when searching for /usr/lib64/gcc/x86_64-suse-linux/4.5/crtbegin.o
/usr/bin/ld: cannot find /usr/lib64/gcc/x86_64-suse-linux/4.5/crtbegin.o
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.a when searching for -lpthread
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX11
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: skipping incompatible /usr/lib64/libgdk_pixbuf-2.0.so when searching for -lgdk_pixbuf-2.0
/usr/bin/ld: cannot find -lgdk_pixbuf-2.0
/usr/bin/ld: skipping incompatible /usr/lib64/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0
/usr/bin/ld: skipping incompatible /usr/lib64/libgdk-x11-2.0.so when searching for -lgdk-x11-2.0
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: skipping incompatible /usr/lib64/libgobject-2.0.so when searching for -lgobject-2.0
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: skipping incompatible /usr/lib64/libglib-2.0.so when searching for -lglib-2.0
/usr/bin/ld: cannot find -lglib-2.0
/usr/bin/ld: skipping incompatible /usr/lib64/libgthread-2.0.so when searching for -lgthread-2.0
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: skipping incompatible /usr/lib64/libgmodule-2.0.so when searching for -lgmodule-2.0
/usr/bin/ld: cannot find -lgmodule-2.0
/usr/bin/ld: skipping incompatible /usr/lib64/libpango-1.0.so when searching for -lpango-1.0
/usr/bin/ld: cannot find -lpango-1.0
/usr/bin/ld: skipping incompatible /usr/lib64/libatk-1.0.so when searching for -latk-1.0
/usr/bin/ld: cannot find -latk-1.0
/usr/bin/ld: skipping incompatible /usr/lib64/libcairo.so when searching for -lcairo
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
project1.lpr(19,1) Error: Error while linking
project1.lpr(19,1) Fatal: There were 1 errors compiling module, stopping

On 08/03/2011 06:36 PM, rasselzzz wrote:
>
> lazarus: command not found

well, lazarus has not been installed…

>
> i have install it in diffre. way… fist just clicking on packages, then
> via terminal, then added to repositor and via soft, manager.

well, it sounds like you don’t how to install software on linux…

i installed the lazarus and fpc rpms with YaST…i didn’t double click
on any packages…

> NOW… let me share with u some stuff i discovered while i was waiting
> ur answer… i have red on lazarus site how to install lazarus on
> opensuse they suggest these packages :
>
> fpc-2.4.2-0.i686.rpm (yes i686 and not i386)
> fpc-src-2.4.2-0.i686.rpm
> lazarus-0.9.30-0.i686.rpm

i didn’t install the source (src) file, and i didn’t compile anything…

> but, when i installed them i was unable to compile.

maybe i’m wrong, but i don’t think any compiling is required…

> ps are u suggesting to install 32 bit vers ?

no, but if you are running openSUSE in a VM (i don’t see your answer to
that question) it may be an issue…


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

i dont want to be rude )) but how can u say lazarus is not installed, if its not installed according u where am i clicking on ? just on some random icon ? its been installed not once,
and what about not compiling anything ? u must not know the lazarus, even if u didint wrote any code line by just pressing play button in IDe it shoud start ur empty windows. before he does he compiles the code.

about knowing and not knowing, lol dude u made my day, cuz i was so angry cuz all this stuff start to make me crazy im dancing more then 2 days with it, but when u said u do not know how to install program in linux u made my day )))
i would make big thread about how to install programm in diffrent ways but let me tell u this, u can change click from one to double click, second thing u can just click on rpg files it will ask u do u want to install it ?
im not sure who wrote the book Perl special edition, but in this book was writen: there is always more then one way to do it.

but its all good ) still im not able to start lazarus and its not depending on do i know or not how to install program in linux,
u just installed 32 ver and started and did nothing. i did the same it started but i dont need IDE just to look at him i must be bale to write code. thanks anyway, but ur posts where helpless as u are

On Wed, 03 Aug 2011 17:46:02 +0000, rasselzzz wrote:

> i dont want to be rude

Then don’t. Let’s keep the discussion about the issue and not your
dissatisfaction with the attempts at help you’re receiving.

What is the output on your system of:

rpm -qa | grep -i lazarus

That’ll tell us if it’s installed or not.

If it is, then type:

which lazarus

And see what that reports back.

If you installed from a terminal window, you may have to run ‘rehash’ in
order to get it to show up in your paths properly.

What repository did you add to get it? (ie, what’s the output from
‘zypper lr’ on your system?)

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

rasl@:~> rpm -qa | grep -i lazarus
lazarus-0.9.30-0.x86_64
rael@242-5-062:~> which lazarus
which: no lazarus in (/home/rassel/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin)

here are the outputs

PS when i enter in terminal lazarus-ide i get this
(lazarus-ide:23517): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)’ failed
[FORMS.PP] ExceptionOccurred
Sender=EDivByZero
Exception=Division by zero
Stack trace:
$00007FD4B771C5AA
TApplication.HandleException Division by zero
Stack trace:
$00007FD4B771C5AA
[FORMS.PP] ExceptionOccurred

if u have any idea pla feel free to share thanks.

Hi
Where did the rpm come from? There is only one on OBS;
http://software.opensuse.org/search?q=lazarus&baseproject=openSUSE%3A11.4&lang=en&exclude_debug=true
and it’s lazarus-0.9.30-1.1

It has lazarus in /usr/bin, see the specfile;
https://build.opensuse.org/package/view_file?file=lazarus.spec&package=lazarus&project=devel%3Alanguages%3Apascal&srcmd5=a3942a7299af6f2bef7d03edb6a314f8

Suggest you remove the files installed (wherever they are from) and use
the devel:languages:pascal version.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 1 day 1:19, 3 users, load average: 0.26, 0.18, 0.15
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

all the same… what makes me more mad, that i dont get any error while im trying to start Lazarus.
icon near mouse jumping up and down, after few sec it disapears and thats it

Hi
So all files are installed from the above pascal repository? Open YaST software management and then in the dropdown, select ‘repositories’ select the ‘devel:languages:pascal’ if there is a button in the list to select ‘Switch system to packages in this repository’ select this then ok.

You need to open a terminal and start via the command line to see the errors…

i have done what u suggested, it didint help, as u said i tryed to run it in terminal here is what i’ve got:

(lazarus:10299): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)’ failed
[FORMS.PP] ExceptionOccurred
Sender=EDivByZero
Exception=Division by zero
Stack trace:
$00007FC4242AD5AA
TApplication.HandleException Division by zero
Stack trace:
$00007FC4242AD5AA
[FORMS.PP] ExceptionOccurred

Hi
I would report it as a bug to the devel:languages:pascal maintainers

well thank u guys… but after i reinstalled my opensuse it started right up… i suspect that it was conflicting with new KDE 4.7 ? cuz otherwise i have now all the same ecxept kde 4.7, now to be honest im a bit afraid to upgrade my KDe.

thanks for responding real apriciate ur suport.

rassel.

On 2011-08-03 19:46, rasselzzz wrote:
>
> i dont want to be rude )) but how can u say lazarus is not installed, if

Because the console command output you were asked to run tell us that it is
not found. In this case, as later you showed the output of the rpm query,
it means that the package you installed is bad.

And please, do not get angry win DenverD. He even installed Lazarus on his
system to try and help you, even though he doesn’t know what lazarus is.
You should ask forgiveness.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2011-08-03 19:20, DenverD wrote:
>> but, when i installed them i was unable to compile.
>
> maybe i’m wrong, but i don’t think any compiling is required…

:slight_smile:

Lazarus is a compiler (an IDE). To see if it works, it is typical to try
compile something with it - but I guess that is too much to ask of you. You
did a lot by even installing it and try running; knowing how to use every
program a guy ask about is asking to much of us.

It just happens that I use Lazarus :wink: but other questions people ask I
have been catch like you.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

First off as i said, the problem is SOLVED.
and about asking forgivness, i didint said anything wrong. he was right as i am.
terminal said its not installed, but i had all files etc of Lazarus.

P.S if u ask me admins or Moders. can close this thread.

On 08/05/2011 02:46 PM, rasselzzz wrote:

> terminal said its not installed, but i had all files etc of Lazarus.

having all the files/etc in the wrong places is not the same as
“installed”.


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

agree, as i said before, im not trying to say u were wrong, maybe at that time some instalaton went wrong, cuz i was all the time trying diffrent ways to make it work.

On 08/05/2011 03:26 PM, rasselzzz wrote:
> im not trying to say u were wrong, maybe at
> that time some instalaton went wrong, cuz i was all the time trying
> diffrent ways to make it work.

maybe you are not saying it now, but when it was not correctly installed
you did say i was wrong and rudely laughed at me for telling you that.


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!