Приветствую.
Собственно, сабж.
Есть fpc 2.7.1, lazarus 1.3 (SVN), GLScene rev 2600.
Устанавливаю по
инструкции.
При штатной установке слетает, не в состоянии найти "-lX11".
Поставил XQuartz, добавил в опции линковщика в пакете "-L/opt/X11/lib/".
В результате всё останавливается на следующем:
ld: symbol(s) not found for architecture i386
Undefined symbols for architecture i386:
"_XF86VidModeGetAllModeLines", referenced from:
_GLSCREEN_$$_TRYTOADDTOLIST in glscreen.o
"_XF86VidModeGetModeLine", referenced from:
_GLSCREEN_$$_READVIDEOMODES in glscreen.o
"_XF86VidModeQueryExtension", referenced from:
_GLSCREEN_$$_READVIDEOMODES in glscreen.o
"_XF86VidModeSetViewPort", referenced from:
_GLSCREEN_$$_SETFULLSCREENMODE$TRESOLUTION$LONGINT$$BOOLEAN in glscreen.o
"_XF86VidModeSwitchMode", referenced from:
_XF86VMODE_$$_XF86VIDMODESELECTNEXTMODE$PDISPLAY$LONGINT$$LONGBOOL in xf86vmode.o
_XF86VMODE_$$_XF86VIDMODESELECTPREVMODE$PDISPLAY$LONGINT$$LONGBOOL in xf86vmode.o
"_XF86VidModeSwitchToMode", referenced from:
_GLSCREEN_$$_SETFULLSCREENMODE$TRESOLUTION$LONGINT$$BOOLEAN in glscreen.o
_GLSCREEN_$$_RESTOREDEFAULTMODE in glscreen.o
ld: symbol(s) not found for architecture i386
An error occurred while linking
/usr/local/share/lazarus/ide/lazarus.pp(142,1) Error: Error while linking
/usr/local/share/lazarus/ide/lazarus.pp(142,1) Fatal: There were 1 errors compiling module, stopping
Внимание, вопрос: ЧЯДНТ?