Recent

Author Topic: installing indy 10 on windows  (Read 4234 times)

ciuly

  • New Member
  • *
  • Posts: 47
  • Delphi/C# developer
    • Ciuly's Web Corner
installing indy 10 on windows
« on: October 21, 2007, 02:59:08 pm »
Just to let people know:

I've tried to install indy 10 according to the readme file from the package, however it failed at the first step: make all with
makefile:28: *** You need the GNU utils package to use this Makefile.  Stop.

I searched for problems, but my lazarus was installed in a directory with no spaces, so that was not the problem. I also installed fpc and gnu binutils separatly and added the path to each one as first in %PATH% and in both cases I got the same problem.
Then I debuged a little the makefile and found that the problem is not
"fpc instaled ina  path with spaces" but %PATH% containing spaces. and that usually does (program files).

setting the path to just the fpc installation dir (which of course must not contain spaces) will fix the problem.

also, I found that it is necessary to click on "compiler options" and add the fpc\units\i386-win32\ dir to the units path. I also had to add it to the package search path, and ignore the errors of not founding it. otherwise lazarus would not build.

hope that wil help somebody in the future :)
freelancer

ciuly

  • New Member
  • *
  • Posts: 47
  • Delphi/C# developer
    • Ciuly's Web Corner
RE: installing indy 10 on windows
« Reply #1 on: December 05, 2007, 04:08:32 pm »
update for fpc 2.2.0
set the path like

set path=path_to_lazarus\fpc\2.2.0\bin\i386-win32;.

otherwise you'll get that error again. it's because the makefile will consider that the OS is unix if there is no ";" in the path. so you need to add it.
freelancer

 

TinyPortal © 2005-2018