I upgraded my laptop from Ubuntu Hardy to Intrepid yesterday and Lazarus compilation now stops with:-
Target OS: Linux for x86-64
Compiling lazarus.pp
Linking ../lazarus
/usr/lib/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function
`GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':
gtk2.pas:(.text+0x104ed): undefined reference to `gtk_file_system_error_quark'
/usr/lib/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function
`GTK2_GTK_TYPE_FILE_INFO$$QWORD':
gtk2.pas:(.text+0x10505): undefined reference to `gtk_file_info_get_type'
/usr/lib/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function
`GTK2_GTK_TYPE_FILE_SYSTEM$$QWORD':
gtk2.pas:(.text+0x1051d): undefined reference to `gtk_file_system_get_type'
/usr/lib/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function
`GTK2_GTK_TYPE_FILE_FOLDER$$QWORD':
gtk2.pas:(.text+0x105b5): undefined reference to `gtk_file_folder_get_type'
lazarus.pp(122,1) Error: Error while linking
lazarus.pp(122,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
I'm running fpc 2.2.2-3, installed from the freepascal repository and these same errors occur regardless of whether I'm building the latest 0.9.27 from SVN, 0.9.26, or anything inbetween.
In an effort to try to resolve the problem, I fetched fpcbuild from SVN and tried to build and install fpc & packages, but that build process fails when compiling the aspell package (I do have aspell installed):-
aspell.pp(1580,1) Error: Illegal expression
aspell.pp(1580,10) Fatal: Syntax error, ";" expected but "identifier ASPELL_LOADED" found.
Is this something to do with the new version of GNOME included in Intrepid? Did the upgrade from Hardy to Intrepid do something bad to a config file somewhere? Anyone have any ideas on how I reach a state where I can successfully build Lazarus from SVN again?
Thanks,
Chrrris.