Mattias Gaertner ha scritto:
On Fri, 02 Nov 2007 12:03:45 +0100
Alvise Nicoletti <[EMAIL PROTECTED]> wrote:

Hi...

Compiling my application with lazarus 0.9.23 and 2.2.1 on a 32 bit machine the application works good.
On another pc, I have the same configuration but with 64 bit, and
using xml I have this error:
In 'stream:' (line 1 pos 3): 'xml' is a reserved word; it must be
lowercase

At line 1 there is:
<?xml version="1.0"?>

Isn't that a standard? Or I am doing something wrong?

What xml units do you use? Please provide an example.
I'm using DOM:
I do a ReadXMLFile on that file as string (hardcoded in the program) to Write it as file. And in the read I get that error, like if the xml tree is wrong. But it works perfectly with the same FPC version (older revision).
I did an svn this morning so maybe it's a bug introduced yesterday?
Also, I saw that lazarus is able to compile my project but isn't able
to compile itself, I'm getting a:
"can't find unit Interfaces used by Lazarus" error.
But /etc/fpc.cfg is changed correctly...

Another strange thing is that the lazarus ide version when I open it
is: .22 I installed it as .deb converting the rpm with alien, the
file I used is: ftp://ftp.hu.freepascal.org/pub/lazarus/lazarus-0.9.23-20071102.x86_64.rpm
That is a .23... Maybe the snapshot is broken?

Maybe. But .22 looks more as if you have an old version on your
system. This would also explain the unit not found error.
Maybe you already tried the ubuntu repositories?
Please try apt-get remove lazarus and keep fpc.
Id did a: apt-get remove --purge lazarus
and a:
alien --script lazarus-0.9.23-20071102.x86_64.rpm
dpkg -i lazarus_0.9.23-20071103_amd64.deb

And I had the same behaviour:
opening the before non existing lazarus (after the purge I tryed to launch it but it didn't exist), it displays the version .22 instead of .23.

Maybe the snapshot have some problems?

I'd like to avoid to compile lazarus myself...

However, of which debian repository you was talking about? If there is one, where I can find it?

I need: lazarus .23 with fpc 2.2.1 (+ bugfixes) for AMD64.

Thanks

Alvise

Elsewere, how can I compile lazarus from sources?
It's the same than fpc?

Yes and no. Lazarus is easier to compile, but you need to install
the right gtk devel packages for your system:

http://wiki.lazarus.freepascal.org/Installing_Lazarus#Downloading_Lazarus_SVN


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives




_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to