Sign in Join

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

Mailing lists / lazarus / 2008-08

why "error expanding embedded variable" ?

8 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

davy zhang
to Mattias Gaertner

thanx so much for the hint, I've read the doc/install document again.

but unfortunately I can not compile 0829,0830,0831 version of snapshot,

in 0830,0831 I get "Identifier not found ExtractShortPathName"

in 0829 I get some undefined variable info

I use fpc 2.2.2

Mattias Gaertner wrote 21 lines
On Sat, 30 Aug 2008 15:36:01 +0800 "davy zhang" wrote: > I've downloaded the source code from > http://snapshots.lazarus.shikami.org/lazarus/ > > the win32 package works fine with xp and vista > > but the zip source package can not be complied on freebsd > > I use "make clean" command and I get the error " error expanding > embedded variable" Under BSD you must use gmake, not make. Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Vincent Snijders
to davy zhang
davy zhang wrote 9 lines
thanx so much for the hint, I've read the doc/install document again. but unfortunately I can not compile 0829,0830,0831 version of snapshot, in 0830,0831 I get "Identifier not found ExtractShortPathName" in 0829 I get some undefined variable info I use fpc 2.2.2

Strange, ExtractShortPath is part of fpc 2.2.2. Are you sure you are not using fpc 2.2.0, which does not have ExtractShortPathName?

Vincent

Reply by email

davy zhang
to Vincent Snijders

Thanks so much for the information, I indeed installed fpc2.2.0 instead of 2.2.2 because the port version is 2.2.0

Finally I successfully installed lazarus on freebsd!

this is the first time I managed to install application on bsd system

but... I still get a question. when I use the Tools -> "Build Lazarus" menu command from the Ide

I get an error "make: illegal option -- w "

thanks again!

Vincent Snijders wrote 20 lines
davy zhang schreef: > thanx so much for the hint, I've read the doc/install document again. > > but unfortunately I can not compile 0829,0830,0831 version of snapshot, > > in 0830,0831 I get "Identifier not found ExtractShortPathName" > > in 0829 I get some undefined variable info > > I use fpc 2.2.2 Strange, ExtractShortPath is part of fpc 2.2.2. Are you sure you are not using fpc 2.2.0, which does not have ExtractShortPathName? Vincent _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Mattias Gaertner
to davy zhang
Show quoted text 11 lines
Thanks so much for the information, I indeed installed fpc2.2.0 instead of 2.2.2 because the port version is 2.2.0 Finally I successfully installed lazarus on freebsd! this is the first time I managed to install application on bsd system but... I still get a question. when I use the Tools -> "Build Lazarus" menu command from the Ide I get an error "make: illegal option -- w "

What shows Environment / Environment Options .. / Files / Make path?

Mattias

Reply by email

davy zhang
to Mattias Gaertner

there is blank, I never changed this place~, so by default it's blank

Should I specified the filename there ?

Mattias Gaertner wrote 23 lines
On Sun, 31 Aug 2008 18:24:30 +0800 "davy zhang" wrote: > Thanks so much for the information, I indeed installed fpc2.2.0 > instead of 2.2.2 because the port version is 2.2.0 > > Finally I successfully installed lazarus on freebsd! > > this is the first time I managed to install application on bsd system > > but... I still get a question. when I use the Tools -> "Build Lazarus" > menu command from the Ide > > I get an error "make: illegal option -- w " What shows Environment / Environment Options .. / Files / Make path? Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

davy zhang
to davy zhang

finally I made it work! it should be gmake not make in the make path, just like before. I've successfully installed LNet component and started my first unix server application. so much thanks for your time and patience to walk me through.

2008/8/31 davy zhang :

Show quoted text 30 lines
there is blank, I never changed this place~, so by default it's blank Should I specified the filename there ? On Sun, Aug 31, 2008 at 6:50 PM, Mattias Gaertner wrote: > On Sun, 31 Aug 2008 18:24:30 +0800 > "davy zhang" wrote: > >> Thanks so much for the information, I indeed installed fpc2.2.0 >> instead of 2.2.2 because the port version is 2.2.0 >> >> Finally I successfully installed lazarus on freebsd! >> >> this is the first time I managed to install application on bsd system >> >> but... I still get a question. when I use the Tools -> "Build Lazarus" >> menu command from the Ide >> >> I get an error "make: illegal option -- w " > > What shows Environment / Environment Options .. / Files / Make path? > > Mattias > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email