From: "Шенцев Алексей Владимирович" <ashen@nsrz.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] И снова lazarus, точнее lazrus & Qt & sisphus Date: Sat, 9 Jun 2007 13:37:02 +0400 Message-ID: <200706091337.02113.ashen@nsrz.ru> (raw) Привет всем! Пытаюсь собрать lazarus по такому спеку: -(ashen@oasu3)-(~/RPM/SPECS)-> cat lazarus.spec Name: lazarus Version: 0.9.22 Release: alt2 Summary: Lazarus Component Library and IDE Group: Development/Other License: GPL and modified LGPL URL: http://www.lazarus.freepascal.org/ Source0: %name-%version-1.tar.gz Packager: Alexey Shentzev <ashen@altlinux.ru> Requires: fpc, fpc-src, gdb # NOTE: without the symlink trick for gtk1, it requires the devel packages. # Automatically added by buildreq on Sun Jun 03 2007 (-ba) BuildRequires: fpc >= 2.1.4 gdk-pixbuf-devel gtk+-devel libgtk+2-devel libXi-devel libxmlsec1-nss packages-info-i18n-common %description Lazarus is a free and open source Rapid Application Development tool for the FreePascal compiler using the Lazarus component library - LCL. The LCL is included in this package. %prep %setup -q -n %name %build export LCL_PLATFORM=qt if [ -n "$FPCCfg" ]; then MAKEOPTS="$MAKEOPTS -n @$FPCCfg" fi make bigide OPT="$MAKEOPTS" USESVN2REVISIONINC=0 make tools OPT="$MAKEOPTS" make lazbuilder OPT="$MAKEOPTS" make lcl ideintf packager/registration bigide OPT="$MAKEOPTS" %install mkdir -p %buildroot%_libdir/%name mkdir -p %buildroot%_bindir mkdir -p %buildroot%_datadir/pixmaps mkdir -p %buildroot%_datadir/gnome/apps/Development mkdir -p %buildroot%_datadir/applications mkdir -p %buildroot%_mandir/man1 cp -aRf * %buildroot%_libdir/%name/ images/ide_icon48x48.png %buildroot%_datadir/pixmaps/lazarus.png install/lazarus.desktop %buildroot%_datadir/applications/lazarus.desktop install -p docs/lazbuild.1 %buildroot%_man1dir/lazbuild.1 install -p -m 644 images/ide_icon48x48.png %buildroot%_datadir/pixmaps/lazarus.png install -p -m 644 install/lazarus.desktop %buildroot%_datadir/applications/lazarus.desktop ln -sf ../%_lib/%name/lazarus %buildroot%_bindir/lazarus ln -sf ../%_lib/%name/startlazarus %buildroot%_bindir/startlazarus ln -sf ../%_lib/%name/lazbuild %buildroot%_bindir/lazbuild %post %update_menus %postun %clean_menus %files %_libdir/%name/ %_bindir/* %_datadir/pixmaps/lazarus.png %_datadir/applications/lazarus.desktop %_mandir/*/* %exclude %_libdir/%name/docs %exclude %_libdir/%name/examples #%exclude %_libdir/%name/lcl %exclude %_libdir/%name/tools %exclude %_libdir/%name/debian # docs %package docs Summary: Lazarus docs Group: Development/Other Requires: %name = %version-%release %description docs Lazarus docs %files docs %_libdir/%name/docs #end docs # examples %package examples Summary: Lazarus examples Group: Development/Other Requires: %name = %version-%release %description examples Lazarus examples %files examples %_libdir/%name/examples #end examples # tools %package tools Summary: Lazarus tools Group: Development/Other Requires: %name = %version-%release %description tools Lazarus tools %files tools %_libdir/%name/tools %exclude %_libdir/%name/tools/install #end tools %changelog При сборке получаю такое: Linking ../lazarus /usr/bin/ld: cannot find -lqt4intf lazarus.pp(119,1) Error: Error while linking lazarus.pp(119,1) Fatal: There were 1 errors compiling module, stopping Библиотека libqt4intf находится в /usr/lib, ldconfig запускал. Всё что нашёл в инете (может плохо искал): http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=printview&t=2446&start=0 Что я не так делаю? -- С уважением Шенцев Алексей Владимирович. E-mail: ashen@nsrz.ru XMPP: ashen@altlinux.org, AlexShen@jabber.ru ICQ: 271053845
next reply other threads:[~2007-06-09 9:37 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-06-09 9:37 Шенцев Алексей Владимирович [this message] 2007-06-09 15:41 ` Andrey Rahmatullin 2007-06-09 15:54 ` Damir Shayhutdinov 2007-06-09 15:56 ` Andrey Rahmatullin 2007-06-13 10:16 ` Шенцев Алексей Владимирович
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200706091337.02113.ashen@nsrz.ru \ --to=ashen@nsrz.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git