[openmamba-devel-it] Problema compilazione
Antonio
iw2oaz a iq2gm.com
Gio 29 Gen 2009 14:09:21 CET
Salve,
su suggerimento di Tiziana posto qui direttamente lo svolgimento di quanto stò
provando a fare. Stò provando a creare un pacchetto iniziale della suite per
radioamatori. Il pacchetto proviene dai sorgenti di xdx. Ho creato il
file .spec come da wiki e non ho avuto nessun errore. Attualmente ho generato
il file xdx.spec successivamente ho dato il comando
autospec -u xdx.spec -a5 --server 2
ma ho un output come in allegato. Sempre su suggerimento di Titti ho
modificato il file xdx.spec in questo modo
Name: xdx
Version: 2.4.2
Release: 1mamba
Summary: Client per Packet Cluster
Group: Applications/Communications
Vendor: openmamba
Distribution: openmamba
Packager: Antonio Esposito <iw2oaz a alice.it>
URL: http://www.qsl.net/pg4i
Source: http://www.qsl.net/pg4i/download/xdx-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: libgtk-devel
%description
Client per Packet Cluster
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_mandir}/man1/xdx.1.gz
%doc AUTHORS COPYING ChangeLog MANUAL NEWS README TODO
%changelog
* Thu Jan 29 2009 Antonio Esposito <iw2oaz a alice.it> 2.4.2-1mamba
- package created by autospec
Ho installato il pacchetto libgtk-devel ma non cambia niente.
Qualche idea?
--
Antonio
http://dstar.iq2gm.com/gruppo
-------------- parte successiva --------------
aggiornamento del pacchetto xdx alla versione [?]...
[step 5] -- creazione dei pacchetti rpm e srpm
* trovato build requirement: `libgtk-devel' (libgtk-devel-2.12.11-1mamba.i586)
[1] http://www.qsl.net/pg4i/download/xdx-2.4.2.tar.gz... ignorato
esecuzione dei test sullo specfile...
creazione dei pacchetti rpm e srpm...
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.86702
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf xdx-2.4.2
+ /bin/gzip -dc /usr/src/RPM/SOURCES/xdx-2.4.2.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xdx-2.4.2
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.86702
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd xdx-2.4.2
+ CFLAGS='-O2 -fomit-frame-pointer -pipe -march=i686 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -fomit-frame-pointer -pipe -march=i686 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -fomit-frame-pointer -pipe -march=i686 -mtune=generic'
+ export FFLAGS
+ ./configure --host=i586-openmamba-linux-gnu --build=i586-openmamba-linux-gnu --target=i586-openmamba-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /bin/install -c
checking for i586-openmamba-linux-gnu-gcc... i586-openmamba-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-openmamba-linux-gnu-gcc accepts -g... yes
checking for i586-openmamba-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i586-openmamba-linux-gnu-gcc... gcc3
checking for rpmbuild... rpmbuild
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i586-openmamba-linux-gnu
checking host system type... i586-openmamba-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for sys/wait.h that is POSIX.1 compatible... yes
checking how to run the C preprocessor... i586-openmamba-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for tzset... yes
checking for setlocale... yes
checking for putenv... yes
checking for alarm... yes
checking for bzero... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for mkdir... yes
checking for socket... yes
checking for strerror... yes
checking for strftime... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for i586-openmamba-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.12.0) were not met:
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
Package 'cairo', required by 'Pango Cairo', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
error: Bad exit status from /var/tmp/rpm-tmp.86702 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.86702 (%build)
Maggiori informazioni sulla lista
openmamba-devel-it