Sign in Join

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

Mailing lists / fpc-devel / 2007-01

The Lazarus Indy Package

11 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Unknown author

Hi, I want to install and try Indy cause i heard of some windows mobile cross compilation success with Lazarus.

But, the lazarus package is not able to install in the ide, and one of the developers that some days ago came on Lazarus IRC channel said i have to compile it as stand alone package and after that put it into Lazarus.

However, my compiling skills are so low, and i need some support.

I use windows.

Thanks in advance.

p.s. for me is indifferent wich indy version to use.

p.p.s. Some installation-semplicity-improvement would be appreciated... Lazarus packages are so comfortable...

Reply by email

Unknown author
to Unknown author

Sorry... that was for the Indy's mailing list.

However if someone of you can help me to install that package i still need some help.

Sorry again.

Show quoted text 23 lines
Hi, I want to install and try Indy cause i heard of some windows mobile cross compilation success with Lazarus. But, the lazarus package is not able to install in the ide, and one of the developers that some days ago came on Lazarus IRC channel said i have to compile it as stand alone package and after that put it into Lazarus. However, my compiling skills are so low, and i need some support. I use windows. Thanks in advance. p.s. for me is indifferent wich indy version to use. p.p.s. Some installation-semplicity-improvement would be appreciated... Lazarus packages are so comfortable... _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Burkhard Carstens
to Unknown author

Am Mittwoch, 24. Januar 2007 09:54 schrieb

Sorry... that was for the Indy's mailing list.

Is there a mailing list? I am only aware of the newsgroup.

Show quoted text 12 lines
However if someone of you can help me to install that package i still need some help. Sorry again. > Hi, I want to install and try Indy cause i heard of some windows > mobile cross compilation success with Lazarus. > > But, the lazarus package is not able to install in the ide, and one > of the developers that some days ago came on Lazarus IRC channel > said i have to compile it as stand alone package and after that put > it into Lazarus.

"Not able to install" is somewhat meaningless. Please describe what you do, and what error you get.

Please be aware: indy comes in one archive, containing two parts:
1. the fpc subfolder
- this contains the indy-core (aka. indy-rtl ? ): all the classes and stuff you need to compile indy-programs with fpc. This one does not need lazarus. This one has to be compiled and installed first.
2. the lazarus subfolder
- this contains the design-time components: all the things you need to create lazarus gui-apps using the lazarus component palette and form designer. AFAIK, these are not needed for compiling your projects (gui or console). Only for the RAD design process.

so here are the steps to do:
(this is on linux, but should be similar on win)

1. download the package from www.indyproject.org/Sockets/fpc/index.html
2. unpack it and change into indy/fpc/
3. run "make all"
4. run "make install"
5. run "make sourceinstall INSTALL_FPCSUBDIR=fpc/packages/extra"

Now you can compile indy-progs with fpc.

6. rebuild lazarus (not sure, if this is necessary, I do it because I allways recompile everything ;-) )
7. start lazarus
8. open the indy/lazarus/indylaz.lpk
9. compile and install it (this rebuilds the ide again)
10. now you should find a lot of indy components on your component palette.
11. have fun

regards
Burkhard

Reply by email

Unknown author
to Burkhard Carstens

Points 1 to 3 went good, i get this error at point 4: C:\indy\fpc>d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\make.e xe install
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/fpcmake.exe -p -Ti
386-win32 Makefile.fpc
Processing Makefile.fpc
Error: Target "win32", package "rtl" not found
d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\make.exe: *** [fpc
_install] Error 1

How do I set "rtl" (and other) paths?

p.s. yes there's a mailing list too

Show quoted text 66 lines
Am Mittwoch, 24. Januar 2007 09:54 schrieb > Sorry... that was for the Indy's mailing list. > Is there a mailing list? I am only aware of the newsgroup. > However if someone of you can help me to install that package i still > need some help. > > Sorry again. > > >> Hi, I want to install and try Indy cause i heard of some windows >> mobile cross compilation success with Lazarus. >> >> But, the lazarus package is not able to install in the ide, and one >> of the developers that some days ago came on Lazarus IRC channel >> said i have to compile it as stand alone package and after that put >> it into Lazarus. >> "Not able to install" is somewhat meaningless. Please describe what you do, and what error you get. Please be aware: indy comes in one archive, containing two parts: 1. the fpc subfolder - this contains the indy-core (aka. indy-rtl ? ): all the classes and stuff you need to compile indy-programs with fpc. This one does not need lazarus. This one has to be compiled and installed first. 2. the lazarus subfolder - this contains the design-time components: all the things you need to create lazarus gui-apps using the lazarus component palette and form designer. AFAIK, these are not needed for compiling your projects (gui or console). Only for the RAD design process. so here are the steps to do: (this is on linux, but should be similar on win) 1. download the package from www.indyproject.org/Sockets/fpc/index.html 2. unpack it and change into indy/fpc/ 3. run "make all" 4. run "make install" 5. run "make sourceinstall INSTALL_FPCSUBDIR=fpc/packages/extra" Now you can compile indy-progs with fpc. 6. rebuild lazarus (not sure, if this is necessary, I do it because I allways recompile everything ;-) ) 7. start lazarus 8. open the indy/lazarus/indylaz.lpk 9. compile and install it (this rebuilds the ide again) 10. now you should find a lot of indy components on your component palette. 11. have fun regards Burkhard _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Burkhard Carstens
to Unknown author

Am Mittwoch, 24. Januar 2007 12:09 schrieb

Show quoted text 13 lines
Points 1 to 3 went good, i get this error at point 4: C:\indy\fpc>d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-w in32\make.e xe install d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/fpcmake .exe -p -Ti 386-win32 Makefile.fpc Processing Makefile.fpc Error: Target "win32", package "rtl" not found d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\make.ex e: *** [fpc _install] Error 1 How do I set "rtl" (and other) paths?

try setting the envvar "FPCDIR" to point to fpc sources. In linux, I do a "export FPCDIR=/usr/local/share/src/fpc-2.1.1/fpc/" Hree this is only need when building a indy-rpm ..

p.s. yes there's a mailing list too

where ?

regards
Burkhard

Reply by email

Unknown author
to Burkhard Carstens

Burkhard Carstens ha scritto:

Show quoted text 20 lines
Am Mittwoch, 24. Januar 2007 12:09 schrieb > Points 1 to 3 went good, i get this error at point 4: > C:\indy\fpc>d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-w > in32\make.e xe install > d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/fpcmake > .exe -p -Ti > 386-win32 Makefile.fpc > Processing Makefile.fpc > Error: Target "win32", package "rtl" not found > d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\make.ex > e: *** [fpc > _install] Error 1 > > How do I set "rtl" (and other) paths? > try setting the envvar "FPCDIR" to point to fpc sources. In linux, I do a "export FPCDIR=/usr/local/share/src/fpc-2.1.1/fpc/" Hree this is only need when building a indy-rpm ..

I tryed to set some environment variables under my computer -> system -> advanced -> environment variables
But make.exe seems to ignore them, is there any command to add them manually during compile?

I'm stuck here...

Show quoted text 6 lines
> p.s. yes there's a mailing list too > where ?

Here:
http://tech.groups.yahoo.com/group/Indy-Dev-Public/

Show quoted text 9 lines
regards Burkhard _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Burkhard Carstens
to Unknown author

Am Mittwoch, 24. Januar 2007 13:02 schrieb

Show quoted text 24 lines
Burkhard Carstens ha scritto: > Am Mittwoch, 24. Januar 2007 12:09 schrieb >> Points 1 to 3 went good, i get this error at point 4: >> C:\indy\fpc>d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i38 >>6-w in32\make.e xe install >> d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/fpcm >>ake .exe -p -Ti >> 386-win32 Makefile.fpc >> Processing Makefile.fpc >> Error: Target "win32", package "rtl" not found >> d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\make >>.ex e: *** [fpc >> _install] Error 1 >> >> How do I set "rtl" (and other) paths? > > try setting the envvar "FPCDIR" to point to fpc sources. > In linux, I do a "export > FPCDIR=/usr/local/share/src/fpc-2.1.1/fpc/" Hree this is only need > when building a indy-rpm .. I tryed to set some environment variables under my computer -> system -> advanced -> environment variables

well, if you do it that way, you might need to close and re-open the console afterwards ..

But make.exe seems to ignore them, is there any command to add them manually during compile? I'm stuck here...

try "make install FPCDIR=/full/path/to/fpc-source/"

Show quoted text 6 lines
>> p.s. yes there's a mailing list too > > where ? Here: http://tech.groups.yahoo.com/group/Indy-Dev-Public/

thanks

regards
Burkhard

Reply by email

Vincent Snijders
to Unknown author: Burkhard Carstens ha scritto: I tryed to set some environment variables under my computer…
Show quoted text 25 lines
Burkhard Carstens ha scritto: > Am Mittwoch, 24. Januar 2007 12:09 schrieb > >> Points 1 to 3 went good, i get this error at point 4: >> C:\indy\fpc>d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-w >> in32\make.e xe install >> d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/fpcmake >> .exe -p -Ti >> 386-win32 Makefile.fpc >> Processing Makefile.fpc >> Error: Target "win32", package "rtl" not found >> d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\make.ex >> e: *** [fpc >> _install] Error 1 >> >> How do I set "rtl" (and other) paths? >> > try setting the envvar "FPCDIR" to point to fpc sources. > In linux, I do a "export FPCDIR=/usr/local/share/src/fpc-2.1.1/fpc/" > Hree this is only need when building a indy-rpm .. > I tryed to set some environment variables under my computer -> system -> advanced -> environment variables But make.exe seems to ignore them, is there any command to add them manually during compile?

SET FPCDIR=c:\lazarus\fpc\2.1.1\source

Vincent

Reply by email

Unknown author
to Vincent Snijders

Vincent Snijders ha scritto:

Show quoted text 36 lines
schreef: > Burkhard Carstens ha scritto: >> Am Mittwoch, 24. Januar 2007 12:09 schrieb >> >> >>> Points 1 to 3 went good, i get this error at point 4: >>> C:\indy\fpc>d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-w >>> in32\make.e xe install >>> d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/fpcmake >>> .exe -p -Ti >>> 386-win32 Makefile.fpc >>> Processing Makefile.fpc >>> Error: Target "win32", package "rtl" not found >>> d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\make.ex >>> e: *** [fpc >>> _install] Error 1 >>> >>> How do I set "rtl" (and other) paths? >>> >> try setting the envvar "FPCDIR" to point to fpc sources. >> In linux, I do a "export FPCDIR=/usr/local/share/src/fpc-2.1.1/fpc/" >> Hree this is only need when building a indy-rpm .. >> > I tryed to set some environment variables under my computer -> system > -> advanced -> environment variables > But make.exe seems to ignore them, is there any command to add them > manually during compile? SET FPCDIR=c:\lazarus\fpc\2.1.1\source Vincent _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Thanks, it worked (the point 4)

Now i'm stuck at point 5, i get that errors (before giving the make sourceinstall command i did a "C:\indy\fpc>set
INSTALL_FPCSUBDIR=D:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\source\packages\extra":

in32/IdZLibConst.o units/i386-win32/IdNTLM.o
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -f units/i3
86-win32/IdResourceStrings.rst
units/i386-win32/IdResourceStringsCore.rst units/
i386-win32/IdResourceStringsProtocols.rst units/i386-win32/IdZLibConst.rst d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -rf units
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -f *.o *.pp
u *.rst *.s *.a *.dll *.ppl
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -rf *.sl
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -f fpcmade.
* Package.fpc ppas.sh script.res link.res
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -f *_ppas.b
at
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/ginstall.exe -m 75
5 -d
/pp/source/D:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\source\packages\e xtra/indy
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/ginstall.exe: cann
ot create directory `/pp\source\D:': Invalid argument d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\make.exe: *** [fpc
_sourceinstall] Error 1

C:\indy\fpc>

Reply by email

Burkhard Carstens
to Unknown author

Am Mittwoch, 24. Januar 2007 15:00 schrieb

Show quoted text 43 lines
Vincent Snijders ha scritto: > schreef: >> Burkhard Carstens ha scritto: >>> Am Mittwoch, 24. Januar 2007 12:09 schrieb >>> >>> >>>> Points 1 to 3 went good, i get this error at point 4: >>>> C:\indy\fpc>d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i >>>>386-w in32\make.e xe install >>>> d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/fp >>>>cmake .exe -p -Ti >>>> 386-win32 Makefile.fpc >>>> Processing Makefile.fpc >>>> Error: Target "win32", package "rtl" not found >>>> d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\ma >>>>ke.ex e: *** [fpc >>>> _install] Error 1 >>>> >>>> How do I set "rtl" (and other) paths? >>> >>> try setting the envvar "FPCDIR" to point to fpc sources. >>> In linux, I do a "export >>> FPCDIR=/usr/local/share/src/fpc-2.1.1/fpc/" Hree this is only >>> need when building a indy-rpm .. >> >> I tryed to set some environment variables under my computer -> >> system -> advanced -> environment variables >> But make.exe seems to ignore them, is there any command to add >> them manually during compile? > > SET FPCDIR=c:\lazarus\fpc\2.1.1\source > > Vincent > _______________________________________________ > fpc-devel maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-devel Thanks, it worked (the point 4) Now i'm stuck at point 5, i get that errors (before giving the make sourceinstall command i did a "C:\indy\fpc>set INSTALL_FPCSUBDIR=D:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\sour ce\packages\extra":

here, only a relative path is needed:
"make sourceinstall INSTALL_FPCSUBDIR=fpc/packages/extra"

maybe it is necessary, that FPCDIR is still set (like in the step before)

Reply by email

Unknown author
to Burkhard Carstens

Burkhard Carstens ha scritto:

Show quoted text 66 lines
Am Mittwoch, 24. Januar 2007 15:00 schrieb > Vincent Snijders ha scritto: > >> schreef: >> >>> Burkhard Carstens ha scritto: >>> >>>> Am Mittwoch, 24. Januar 2007 12:09 schrieb >>>> >>>> >>>> >>>>> Points 1 to 3 went good, i get this error at point 4: >>>>> C:\indy\fpc>d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i >>>>> 386-w in32\make.e xe install >>>>> d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/fp >>>>> cmake .exe -p -Ti >>>>> 386-win32 Makefile.fpc >>>>> Processing Makefile.fpc >>>>> Error: Target "win32", package "rtl" not found >>>>> d:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\ma >>>>> ke.ex e: *** [fpc >>>>> _install] Error 1 >>>>> >>>>> How do I set "rtl" (and other) paths? >>>>> >>>> try setting the envvar "FPCDIR" to point to fpc sources. >>>> In linux, I do a "export >>>> FPCDIR=/usr/local/share/src/fpc-2.1.1/fpc/" Hree this is only >>>> need when building a indy-rpm .. >>>> >>> I tryed to set some environment variables under my computer -> >>> system -> advanced -> environment variables >>> But make.exe seems to ignore them, is there any command to add >>> them manually during compile? >>> >> SET FPCDIR=c:\lazarus\fpc\2.1.1\source >> >> Vincent >> _______________________________________________ >> fpc-devel maillist - >> http://lists.freepascal.org/mailman/listinfo/fpc-devel >> > Thanks, it worked (the point 4) > > Now i'm stuck at point 5, i get that errors (before giving the make > sourceinstall command i did a "C:\indy\fpc>set > INSTALL_FPCSUBDIR=D:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\sour > ce\packages\extra": > here, only a relative path is needed: "make sourceinstall INSTALL_FPCSUBDIR=fpc/packages/extra" maybe it is necessary, that FPCDIR is still set (like in the step before) _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Ok... it worked now, but i'm at the point 8 and i got same error as before starting...:
C:\indy\lazarus\IdDsnCoreResourceStrings.pas(76,9) Fatal: Can't find unit IdGlobal

The last rows after the sourceinstall command was: [...] 2/IdNTLM.ppu
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -f units/i3
86-win32/IdResourceStrings.rst
units/i386-win32/IdResourceStringsCore.rst units/
i386-win32/IdResourceStringsProtocols.rst units/i386-win32/IdZLibConst.rst d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -rf units
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -f *.o *.pp
u *.rst *.s *.a *.dll *.ppl
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -rf *.sl
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -f fpcmade.
* Package.fpc ppas.sh script.res link.res
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/rm.exe -f *_ppas.b
at
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/ginstall.exe -m 75
5 -d /pp/source/fpc/packages/extra/indy
d:/ALVISE/Delphi-Lazarus/IDE/lazarus/fpc/2.1.1/bin/i386-win32/cp.exe -Rfp C:/ind
y/fpc/* /pp/source/fpc/packages/extra/indy

I had errors trying to compile lazarus too (errors that i never had before, i always compiled it easily):
"Compilare l'IDE (senza linking)" completed <- compile the ide without linking
D:\ALVISE\Delphi-Lazarus\IDE\lazarus\fpc\2.1.1\bin\i386-win32\make.exe: *** No rule to make target `starter'. Stop.

Reply by email