Sign in Join

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

Mailing lists / lazarus / 2000-11

cannot build on Win NT / ME / 98

11 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Mario Fietz, DL4MFM
to Nirendra Maharaj: I downloaded the Lazarus sources, and attempted to build them on Win98. I experianced the…

Hello Folks,

I downloaded

ftp://lazarus.freepascal.org/lazarus/uxml.zip

from Michael. But that was *NOT* the problem, because I have exactly this units in the right directory.

Then I tried Nirendras hint to copy XMLCFG to Lazarus directory. No success.

1. I copied the whole directory to a Windows ME PC (my wifes PC) and tried to compile. No success.
2. I copied the whole directory to a Windows 98 PC (my dougthers PC) and tried to compile. No success.
(sorry - have no Windows 95 PC).

Then I made a fresh installation on the Windows 98 PC. No success. Copied the new MAKE.EXE and SH.EXE into pp\bin\win32. Better - but no success.
changed the PATH and added the unit-directory into the PATH. no success Used Nirendras hint, but copied the files into pp\bin\win32. OH - success on "make components"!
copied mwedit-directories into pp\bin\win32. success on "make ide". success on "make examples".

started lazarus.exe. Oh - what's that? Looking strange, blinking, has nothing to do with the KDE screenshots on
http://www.lazarus.freepascal.org/screenshots.php3?&language=english

copied all back to the win nt pc and compiled again, success. Lazarus.exe runs but is not usable. I'll try this week a linux installation. but I am a newcomer on Linux so I really do not know what I do :-) The Linux PC is running as a internet server for our home-network only and I needed a lot of evenings and gallons of beer to get them run (if you know what frustration is :-)

thanks for help.

Mario

www.dl4mfm.de

Reply by email

Michael A. Hess
to Mario Fietz, DL4MFM: I installed FPC in "full option". the "make" in '\pp\source\fcl\xml' directory ends with:…
DL4MFM" wrote 10 lines
I installed FPC in "full option". the "make" in '\pp\source\fcl\xml' directory ends with: make -C ../../rtl/win32 all make[1]: Entering directory `/pp/source/rtl/win32' make[1]: Leaving directory `/pp/source/rtl/win32' make[1]: *** [fpcmade.w32] Error1 make: *** [package_rtl] Error2

I'm not sure what is going on with the building of the FPC units. I was able to build them but that was on win95 so I can say if it might be an NT issue.

In any case I have packaged the XML units and put them on the ftp site.

ftp://lazarus.freepascal.org/lazarus/uxml.zip

Download these files and place them in '\pp\units\win32\fcl'

After that you should be able to build Lazarus.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Mario Fietz, DL4MFM
to Mario Fietz, DL4MFM: I found last week lazarus in the net. Because I am a DELPHI fan I am interested to work…

Hello Folks,

Well, I found make.exe and sh.exe on the last mirror :-) redhat.com. I installed make.exe and sh.exe. Now following happens:

<----------------------------------------->

make lcl (seems all ok)

<----------------------------------------->

make components

make -C components all
make[1]: Entering directory `/pp/source/lazarus/components' make[1]: Leaving directory `/pp/source/lazarus/components' make[1]: *** [fpcmade.w32] Error 1
make: *** [components_all] Error 2

<----------------------------------------->

make ide

make --assume-new=lazarus.pp lazarus.exe
make[1]: Entering directory `/pp/source/lazarus'
ppc386.exe !FPCEXTCMD lazarus.pp
Note: Reading further options from (env) FPCEXTCMD Free Pascal Compiler version 1.0.2 [2000/10/12] for i386 Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lazarus.pp
Compiling main.pp
Compiling compiler.pp
Compiling compileroptions.pp
compileroptions.pp(33,83) Fatal: Can't find unit XMLCFG make[1]: Leaving directory `/pp/source/lazarus'
make[1]: *** [lazarus.exe] Error 1
make: *** [ide] Error 2

<----------------------------------------->

any idea?

Mario

Reply by email

Mario Fietz, DL4MFM
to Michael A. Hess: Since you and others were having similar problems I decided to download the Win32 1.0.2…

Hello Michael and al readers,

I installed FPC in "full option".

the "make" in '\pp\source\fcl\xml' directory ends with:

make -C ../../rtl/win32 all
make[1]: Entering directory `/pp/source/rtl/win32' make[1]: Leaving directory `/pp/source/rtl/win32'
make[1]: *** [fpcmade.w32] Error1
make: *** [package_rtl] Error2

Lazarus doesnot build :-(

greetings and good night. Hope to hear from any helper soon. Thanks!

Mario

Reply by email

Peter Vreman
Show quoted text 5 lines
During the IDE build I got the XMLCFG error. I realized that the units were missing. I installed the source for the FCL and ran make in the '\pp\source\fcl\xml' directory. Then I copied the build .ow and .ppw files, which were placed in the '\pp\source\fcl\win32\' directory, in to the '\pp\units\win32\fcl\'.

This is a known issue and will be solved in 1.0.4.

Peter

Reply by email

Mario Fietz, DL4MFM

Hello Folks,

I found last week lazarus in the net. Because I am a DELPHI fan I am interested to work with Lazarus for Windows and Linux platform. Now, first I tried to install on my Windows NT PC. No problems with the FPC, works fine.

Then I tried to build Lazarus with the "How to build Lazarus"-Site (http://www.lazarus.freepascal.org/how.php3?&language=german is english, too).

Step 1. : WinNT platform - Get other version of some utils

I did not find make.exe on any named ftp-server! I tried to use the FPC-make.exe, but only errors (I installed on the f:\fpc\...-Directory). Later I moved all into c:\pp and tried again to "make" Lazarus. "make lcl" works fine, but then following errors occured:

---------------------------------------------------------------<

make components:

c:/pp/bin/win32/make.exe -C components all
make.exe *** components: No such file or directory (ENOENT). STOP. make.exe *** [components_all] Error 2

make ide:
c:/pp/bin/win32/make.exe --assume-new=lazarus.pp lazarus.exe make.exe[1]: Entering directory `c:/pp/lazarus'
ppc386.exe !FPCEXTCMD lazarus.pp
Note: Reading further options from (env) FPCEXTCMD Free Pascal Compiler version 1.0.2 [2000/10/12] for i386 Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lazarus.pp
Compiling main.pp
Compiling compiler.pp
Compiling compileroptions.pp
compileroptions.pp(33,83) Fatal: Can't find unit XMLCFG make.exe[1]: Leaving directory `c:/pp/lazarus'
make.exe[1]: *** [lazarus.exe] Error 1
make.exe *** [ide] Error 2

---------------------------------------------------------------<

Any idea? If someone has the needed "make.com" and "sh.exe" on his/hers PC, can you send me please? Well, I looked down the mailing list, seems that someone has had the same problem, but I didnot find the answer for this problem.

Greetings from NW Germany

Mario

Reply by email

Marco van de Voort
to Michael A. Hess: Since you and others were having similar problems I decided to download the Win32 1.0.2…
Show quoted text 8 lines
> compileroptions.pp(33,83) Fatal: Can't find unit XMLCFG Since you and others were having similar problems I decided to download the Win32 1.0.2 release of FPC and try it. The problem above is due to the fact that the release for some reason failed to included the units for the xml units in the FCL.

Hmm, we knew this was the case for the linux version. (I noticed when packing FreeBSD). If win32 also suffers from this is bad....

Reply by email

Michael A. Hess
to Mario Fietz, DL4MFM: Well, I found make.exe and sh.exe on the last mirror :-) redhat.com. I installed make.exe…
DL4MFM" wrote
compileroptions.pp(33,83) Fatal: Can't find unit XMLCFG

Since you and others were having similar problems I decided to download the Win32 1.0.2 release of FPC and try it.

The problem above is due to the fact that the release for some reason failed to included the units for the xml units in the FCL.

What you need to do is install the FCL source if you didn't already do so. Then do a 'make' in the '\pp\source\fcl\xml' directory. I believe the units will be placed in '\pp\source\fcl\win32'. Copy the .ppw and .ow files from there into the '\pp\units\win32\fcl' directory. Then try to build Lazarus again. (note you need to copy all of the .ppw and .ow files since you will find others are missing as well.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael A. Hess
to Mario Fietz, DL4MFM: I downloaded ftp://lazarus.freepascal.org/lazarus/uxml.zip from Michael. But that was…
DL4MFM" wrote

<snip of process>

copied all back to the win nt pc and compiled again, success.

I really don't know what is going on with your PC but I had not such problems. I work mainly on the Linux version so I had to do a complete install to try to find your Win32 problem. I downloaded the FPC 1.0.2 Win32 full install. Then I installed it sans the source code. Then I did a checkout from CVS of Lazarus. So I had Win32 in '\pp\....' and the Lazarus code in '\lazarus\....'.

Instead of adding the directory to my PATH statement in my autoexec.bat I just made a .bat file that first does.

SET PATH=d:\pp\bin\win32\;%PATH%
make %1

This sets the path information for that session. (I hate having to reboot due to autoexec changes.) Besides this avoids a conflict with Delphi's 'make' and another 'make' I have.

I built the lcl

I built the components

During the IDE build I got the XMLCFG error. I realized that the units were missing. I installed the source for the FCL and ran make in the '\pp\source\fcl\xml' directory. Then I copied the build .ow and .ppw files, which were placed in the '\pp\source\fcl\win32\' directory, in to the '\pp\units\win32\fcl\'.

I again did a make for the IDE and it build correctly.

That is all there should be to it and it should be as simple as that.

Now with the URL to the prebuilt XML units I provided you should just need to to the FPC install, copy the XML units and then build Lazarus.

Now as the working and functionality of Lazarus that is another issue and why we need volunteers to help. :-)

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Nirendra Maharaj
to Mario Fietz, DL4MFM: I installed FPC in "full option". the "make" in '\pp\source\fcl\xml' directory ends with:…

I downloaded the Lazarus sources, and attempted to build them on Win98. I experianced the same problems with XMLCFG, and didn't know what to do, so I just copied al the xml units to the lazarus directory, then ran make, and it compiled. Hope this will be of some assistance :-)

Nirendra Maharaj Enterprise Objects Network
http://www.eonetwork.com

begin:vcard
n:Maharaj;Nirendra
tel;cell:+27 (0) 82 796 1227
tel;fax:+27 (0) 12 342 7004
tel;work:+27 (0) 12 342 7003
x-mozilla-html:FALSE
url:www.eonetwork.com
org:Enterprise Objects Network
version:2.1
email;
title:Developer
adr;quoted-printable:;;876 Pretorius Street=0D=0AArcadia;Pretoria;Gauteng;0001;South Africa note;quoted-printable:Works hard at his job....=0D=0AMost of the time....=0D=0A fn:Nirendra Anandperkash Maharaj
end:vcard

Reply by email

Nirendra Maharaj

I have got Lazarus to compile without such complicated measures :-)

Maybe it's my PC? God knows, it's behaved strangely before, but never in a good way :-)

Here is what I did, as far as I can remember.

1. I added the following lines to FP.CFG. Not just to compile Lazarus, I was attempting to make the sockets example, and it just didn't seem to want to work....

-Fuc:\Progs\pp\units\$TARGET\rtl
-Fuc:\Progs\pp\units\$TARGET\fcl
-Fuc:\Procs\pp\units\$TARGET\api
-Fuc:\Progs\pp\units\$TARGET\paszlib
-Fic:\Progs\pp\source\$TARGET\fcl\inc
-Fic:\Progs\pp\source\$TARGET\rtl\inc
-Fic:\Progs\pp\source\$TARGET\api\inc

2. I extracted lazarus to the FP directory (C:\Progs\pp on my machine). It ended up in a directory of its own called 'lazarus'.

3. I copied the entire contents of the directory
(C:\Progs\PP)\source\fcl\xml to the 'lazarus' directory. All the files except 'Makefile' and 'makefile.fpc' that is.

4. I ran make in the 'lazarus' directory, and it gave a lot of hints which scrolled by far too fast for me to read, but, amazingly, it compiled!!!

I cannot think of anything extra I may have done. Who knows why it worked. Best of luck with this attempted solution :-)

One comment: As mentioned, the interface was really flickering a lot, and controls kept disappearing when I resized things.

Earlier message 75 lines
-----Original Message----- From: Mario Fietz, DL4MFM Sent: 05 November 2000 10:11 To: Subject: [lazarus] cannot build on Win NT / ME / 98 Hello Folks, I downloaded ftp://lazarus.freepascal.org/lazarus/uxml.zip from Michael. But that was *NOT* the problem, because I have exactly this units in the right directory. Then I tried Nirendras hint to copy XMLCFG to Lazarus directory. No success. 1. I copied the whole directory to a Windows ME PC (my wifes PC) and tried to compile. No success. 2. I copied the whole directory to a Windows 98 PC (my dougthers PC) and tried to compile. No success. (sorry - have no Windows 95 PC). Then I made a fresh installation on the Windows 98 PC. No success. Copied the new MAKE.EXE and SH.EXE into pp\bin\win32. Better - but no success. changed the PATH and added the unit-directory into the PATH. no success Used Nirendras hint, but copied the files into pp\bin\win32. OH - success on "make components"! copied mwedit-directories into pp\bin\win32. success on "make ide". success on "make examples". started lazarus.exe. Oh - what's that? Looking strange, blinking, has nothing to do with the KDE screenshots on http://www.lazarus.freepascal.org/screenshots.php3?&language=english copied all back to the win nt pc and compiled again, success. Lazarus.exe runs but is not usable. I'll try this week a linux installation. but I am a newcomer on Linux so I really do not know what I do :-) The Linux PC is running as a internet server for our home-network only and I needed a lot of evenings and gallons of beer to get them run (if you know what frustration is :-) thanks for help. Mario www.dl4mfm.de _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus begin:vcard n:Maharaj;Nirendra tel;cell:+27 (0) 82 796 1227 tel;fax:+27 (0) 12 342 7004 tel;work:+27 (0) 12 342 7003 x-mozilla-html:FALSE url:www.eonetwork.com org:Enterprise Objects Network version:2.1 email; title:Developer adr;quoted-printable:;;876 Pretorius Street=0D=0AArcadia;Pretoria;Gauteng;0001;South Africa note;quoted-printable:Works hard at his job....=0D=0AMost of the time....=0D=0A fn:Nirendra Anandperkash Maharaj end:vcard

Reply by email