From: "Шенцев Алексей Владимирович" <ashen@nsrz.ru> To: sisyphus@lists.altlinux.org Subject: [sisyphus] dbmail-2.2.4 Date: Fri, 30 Mar 2007 14:49:12 +0400 Message-ID: <200703301449.13176.ashen@nsrz.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 1339 bytes --] Привет всем! Собираю в пакет сабж. Компиляция через autoreconf -fisv , ./configure , make проходит без ошибок, после изменения Makefile.am (патч --as-need получен). А на пакете вываливается с такой ошибкой: config.status: creating config.h config.status: executing depfiles commands DM_LOGDIR: /var/log DM_CONFDIR: /etc DM_STATEDIR: /var/lib USE_DM_GETOPT: CFLAGS: -pipe -Wall -O2 -march=i686 -mtune=i686 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes GLIB: -lglib-2.0 GMIME: -lgmime-2.0 -lz -lnsl -lgobject-2.0 -lglib-2.0 MYSQL: -L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto PGSQL: -L/usr/lib -lpq SQLITE: -lsqlite3 SIEVE: -lsieve LDAP: -lldap SHARED: yes STATIC: no CHECK: no SOCKETS: -lresolv + '[' -n '' ']' + NPROCS=2 + make -j2 make: Entering directory `/home/ashen/RPM/BUILD/dbmail-2.2.4' make: *** No targets. Stop. Это получается цели сборки не определены, так? И что с этим делать? Или я что то не так делаю? Спек и патч во вложении. -- С уважением Шенцев Алексей Владимирович. E-mail: ashen@nsrz.ru XMPP: ashen@altlinux.org, AlexShen@jabber.ru ICQ: 271053845 [-- Attachment #2: dbmail.spec --] [-- Type: text/x-c++hdr, Size: 9121 bytes --] Name: dbmail Version: 2.2.4 Release: alt0.1 Summary: DBMail is a POP3/IMAP server that enables email to be stored in and retrieved from a database License: GPL Group: System/Servers Url: http://dbmail.org PreReq: chkconfig Requires: %name-storage = %version-%release ########################################### # Relations with other POP3/IMAP server pkgs (like dbmail) # Provide the abstract service names (which are virtual pkg names), # specify their origin (our pkg name as the epoch + version-release): Provides: IMAPD = %name:%version-%release Provides: POP3D = %name:%version-%release # Conflict with all other real pkgs which provide the same services # (they should specify the origin the same way, so the epoch-version-release # of the virtual pkgs POP3D & IMAPD will always differ from that of ours if # they are provided by a different real pkg): Conflicts: IMAPD < %name:%version-%release Conflicts: IMAPD > %name:%version-%release Conflicts: POP3D < %name:%version-%release Conflicts: POP3D > %name:%version-%release # End of the statements to describe relations with other POP3/IMAP server pkgs ######################################## %add_findprov_lib_path %_libdir/%name Source0: %name-%version.tar.gz Source1: %name-pop3d.init Source2: %name-imapd.init Source3: %name-lmtpd.init Source4: %name-timsieved.init Source5: %name-clean Source6: %name.conf Patch0: %name-%version-altlinux--as-need.patch BuildPreReq: glib2-devel >= 2.6 libgmime-devel zlib-devel %def_with mysql %def_with pgsql %def_with sqlite %def_with ldap %def_with sieve %{?_with_mysql:BuildPreReq: libMySQL-devel} %{?_with_pgsql:BuildPreReq: postgresql-devel} %{?_with_sqlite:BuildPreReq: libsqlite3-devel} %{?_with_ldap:BuildPreReq: libldap-devel} %{?_with_sieve:BuildPreReq: libsieve-devel} %description DBMail is a POP3/IMAP server that enables email to be stored in and retrieved from a database %if_with mysql %package mysql Summary: MySQL storage driver for DBMail Group: System/Servers Requires: %name = %version-%release Provides: %name-storage = %version-%release %description mysql MySQL storage driver for DBMail %endif %if_with pgsql %package pgsql Summary: PostgreSQL storage driver for DBMail Group: System/Servers Requires: %name = %version-%release Provides: %name-storage = %version-%release %description pgsql PostgreSQL storage driver for DBMail %endif %if_with sqlite %package sqlite Summary: SQLite storage driver for DBMail Group: System/Servers Requires: %name = %version-%release Provides: %name-storage = %version-%release %description sqlite SQLite storage driver for DBMail %endif %if_with ldap %package ldap Summary: LDAP authentication driver for DBMail Group: System/Servers Requires: %name = %version-%release %description ldap LDAP authentication driver for DBMail %endif %if_with sieve %package sieve Summary: Sieve filtering engine for DBMail Group: System/Servers Requires: %name = %version-%release Requires: libsieve %description sieve Sieve filtering engine for DBMail. %endif %package contrib Summary: Additional tools for DBMail Group: System/Servers Requires: %name = %version-%release %description contrib Additional tools for DBMail %prep %setup %patch0 -p1 #%patch1 -p1 %build CONFIGURE_WITH="" %if_with mysql CONFIGURE_WITH="${CONFIGURE_WITH} --with-mysql" %endif %if_with pgsql CONFIGURE_WITH="${CONFIGURE_WITH} --with-pgsql" %endif %if_with sqlite CONFIGURE_WITH="${CONFIGURE_WITH} --with-sqlite" %endif %if_with ldap CONFIGURE_WITH="${CONFIGURE_WITH} --with-ldap" %endif %if_with sieve CONFIGURE_WITH="${CONFIGURE_WITH} --with-sieve" %endif #%__autoconf autoreconf -fisv %configure ${CONFIGURE_WITH} %make_build %install # adjust $RPM_BUILD for install %__mkdir_p %buildroot/%_sbindir %__mkdir_p %buildroot/%_libdir %__mkdir_p %buildroot/%_man1dir %__mkdir_p %buildroot/%_man8dir %__mkdir_p %buildroot/%_sysconfdir %__mkdir_p %buildroot/%_sysconfdir/cron.daily %__mkdir_p %buildroot/%_initdir %__mkdir_p %buildroot/%_docdir/%name-%version %__mkdir_p %buildroot/%_datadir/%name-%version/contrib %__make DESTDIR=%buildroot install # package cron, config and init scripts %__install -m 0755 %SOURCE1 %buildroot/%_initdir/%name-pop3d %__install -m 0755 %SOURCE2 %buildroot/%_initdir/%name-imapd %__install -m 0755 %SOURCE3 %buildroot/%_initdir/%name-lmtpd %__install -m 0755 %SOURCE4 %buildroot/%_initdir/%name-timsieved %__install -m 0755 %SOURCE5 %buildroot/%_sysconfdir/cron.daily/ %__install -m 0644 %SOURCE6 %buildroot/%_sysconfdir/%name.conf # package docs %__install -m 0644 AUTHORS %buildroot/%_docdir/%name-%version %__install -m 0644 BUGS %buildroot/%_docdir/%name-%version %__install -m 0644 COPYING %buildroot/%_docdir/%name-%version %__install -m 0644 ChangeLog %buildroot/%_docdir/%name-%version %__install -m 0644 INSTALL %buildroot/%_docdir/%name-%version %__install -m 0644 README.exim %buildroot/%_docdir/%name-%version %__install -m 0644 README.postfix %buildroot/%_docdir/%name-%version %__install -m 0644 README.qmail %buildroot/%_docdir/%name-%version %__install -m 0644 README.sieve %buildroot/%_docdir/%name-%version %__install -m 0644 README.ldap %buildroot/%_docdir/%name-%version %__install -m 0644 README.smtp %buildroot/%_docdir/%name-%version %__install -m 0644 README.solaris %buildroot/%_docdir/%name-%version %__install -m 0644 README.usermap %buildroot/%_docdir/%name-%version %__install -m 0644 NEWS %buildroot/%_docdir/%name-%version %__install -m 0644 README %buildroot/%_docdir/%name-%version %__install -m 0644 THANKS %buildroot/%_docdir/%name-%version %__install -m 0644 dbmail.schema %buildroot/%_datadir/%name-%version cp -r contrib/sql2sql %buildroot/%_datadir/%name-%version/contrib cp -r contrib/mailbox2dbmail %buildroot/%_datadir/%name-%version/contrib cp -r sql %buildroot/%_datadir/%name-%version %post %post_service %name-pop3d %post_service %name-imapd %post_service %name-lmtpd %preun %preun_service %name-pop3d %preun_service %name-imapd %preun_service %name-lmtpd %post sieve %post_service %name-timsieved %preun sieve %preun_service %name-timsieved %files %_sysconfdir/cron.daily/dbmail-clean %_initdir/dbmail-imapd %_initdir/dbmail-pop3d %_initdir/dbmail-lmtpd %config(noreplace) %_sysconfdir/%name.conf %_sbindir/dbmail-imapd %_sbindir/dbmail-pop3d %_sbindir/dbmail-lmtpd %_sbindir/dbmail-export %_sbindir/dbmail-smtp %_sbindir/dbmail-users %_sbindir/dbmail-util %_man1dir/dbmail.1.gz %_man1dir/dbmail-smtp.1.gz %_man5dir/dbmail.conf.5.gz %_man8dir/dbmail-imapd.8.gz %_man8dir/dbmail-pop3d.8.gz %_man8dir/dbmail-lmtpd.8.gz %_man8dir/dbmail-users.8.gz %_man8dir/dbmail-util.8.gz %_man8dir/dbmail-export.8.gz %_libdir/%name/libdbmail.so* %_libdir/%name/libauth_sql.so* %doc %_docdir/%name-%version/* %files mysql %_libdir/%name/libmysql.so* %_datadir/%name-%version/sql/mysql/* %files pgsql %_libdir/%name/libpgsql.so* %_datadir/%name-%version/sql/postgresql/* %files sqlite %_libdir/%name/libsqlite.so* %_datadir/%name-%version/sql/sqlite/* %files ldap %_libdir/%name/libauth_ldap.so* %_datadir/%name-%version/dbmail.schema %files sieve %_libdir/%name/libsort_sieve.so* %_initdir/dbmail-timsieved %_sbindir/dbmail-timsieved %_sbindir/dbmail-sievecmd %_man8dir/dbmail-sievecmd.8.gz %_man8dir/dbmail-timsieved.8.gz %files contrib %_datadir/%name-%version/contrib %changelog * Fri Mar 30 2007 ALT QA Team Robot <qa-robot@altlinux.org> 2.2.1-alt5.0 - Rebuilt due to libpq.so.4 -> libpq.so.5 soname change. * Fri Jan 19 2007 Eugene Prokopiev <enp@altlinux.ru> 2.2.1-alt5 - fix build error patch for x86_64 (thanks to Damir Shayhutdinov) * Thu Jan 11 2007 Eugene Prokopiev <enp@altlinux.ru> 2.2.1-alt4 - exclude .la files (thanks to Alexey Shentsev) - include dbmail.schema to dbmail-ldap package (thanks to Alexey Shentsev) * Mon Dec 25 2006 Eugene Prokopiev <enp@altlinux.ru> 2.2.1-alt3 - fix build error on x86_64 (thanks to Damir Shayhutdinov) - but result is unsuccessfull :( * Mon Dec 18 2006 Eugene Prokopiev <enp@altlinux.ru> 2.2.1-alt2 - --as-needed patch (thanks to Alexey Shentsev) * Thu Dec 14 2006 Eugene Prokopiev <enp@altlinux.ru> 2.2.1-alt1 - move to 2.2.1 - split into packages - exclude patches * Mon Jul 10 2006 Eugene Prokopiev <enp@altlinux.ru> 2.0.10-alt2 - replace provides hack with %add_findprov_lib_path - modified libadd patch to support build with MySQL - default build with MySQL * Thu Jun 29 2006 Eugene Prokopiev <enp@altlinux.ru> 2.0.10-alt1 - build with new version - now can be compiled on Sisyphus with libadd patch * Mon Jan 16 2006 Eugene Prokopiev <enp@altlinux.ru> 2.0.7-alt5.M24.1 - add dbmail-folders patch written by David A. Niblett <David A. Niblett> (RFC 3598) - similify Requires and BuilRequires * Mon Dec 26 2005 Eugene Prokopiev <enp@altlinux.ru> 2.0.7-alt4.M24.1 - add pgsql74/pgsql80/pgsql81/mysql40 switcher for building * Sun Nov 20 2005 Eugene Prokopiev <enp@altlinux.ru> 2.0.7-alt3.M24.1 - add cron job for db check and clean * Wed Sep 21 2005 Eugene Prokopiev <enp@altlinux.ru> 2.0.7-alt2.M24.1 - add mailfilter patch * Sun Sep 10 2005 Eugene Prokopiev <enp@altlinux.ru> 2.0.7-alt1.M24.1 - initial package for ALT Linux [-- Attachment #3: dbmail-2.2.4-altlinux--as-need.patch --] [-- Type: text/x-diff, Size: 398 bytes --] --- dbmail-2.2.4/Makefile.am.orign 2007-03-30 14:30:18 +0400 +++ dbmail-2.2.4/Makefile.am 2007-03-30 14:14:06 +0400 @@ -103,7 +103,7 @@ pkglib_LTLIBRARIES = libdbmail.la if SHARED -AM_LDFLAGS = -export-dynamic -lcrypt +AM_LDFLAGS = -export-dynamic -lcrypt -lgmodule libdbmail_la_SOURCES = $(COMMON) $(SERVER) $(DELIVER) $(MODULES) else libdbmail_la_SOURCES = $(COMMON) $(SERVER) $(DELIVER)
next reply other threads:[~2007-03-30 10:49 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-30 10:49 Шенцев Алексей Владимирович [this message] 2007-03-30 15:08 ` Igor Zubkov 2007-03-30 15:23 ` Шенцев Алексей Владимирович 2007-03-30 15:30 ` Igor Zubkov 2007-03-30 15:43 ` Шенцев Алексей Владимирович 2007-03-31 12:49 ` Eugene Prokopiev
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=200703301449.13176.ashen@nsrz.ru \ --to=ashen@nsrz.ru \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git