bug-buddy build on Suse 11

仅以此文纪念无法编译那些烂的不能再烂的软件的日子。。。

本文仅作参考,如果编译过程还提示别的package没有按照,按照提示安装即可。

Part 1, tranditional build with make files in source files.

1.Add “gdu_cv_have_gdu=yes”  to ./bug-buddy-2.24.1-2.32/configure” file in line 2889
localhost:/usr/src/packages/SOURCES/bug-buddy-2.24.1 # ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: error: gnome-doc-utils >= 0.3.2 not found
localhost:/usr/src/packages/SOURCES/bug-buddy-2.24.1 # rpm -q gnome-doc-utils
gnome-doc-utils-0.14.0-1.32
2.Download intltool and install. http://rpm.pbone.net/index.php3?stat=26&dist=46&size=99959&name=intltool-0.40.6-2.2.noarch.rpm

localhost:/usr/src/packages/SOURCES/bug-buddy-2.24.1 # ./configure
。。。
checking for intltool >= 0.40.0... ./configure: line 4104: intltool-update: command not found
 found
configure: error: Your intltool is too old.  You need intltool 0.40.0 or later.
localhost:/usr/src/packages/SOURCES/bug-buddy-2.24.1 # rpm -q intltool
package intltool is not installed

localhost:/usr/yiyz/bugbuddy # rpm -ivh intltool-0.40.6-2.2.noarch.rpm 
warning: intltool-0.40.6-2.2.noarch.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:intltool               ########################################### [100%]

3.Download and install missed packages

checking for BUG_BUDDY... configure: error: Package requirements (
        bonobo-activation-2.0 >= 1.0.0
        gdk-pixbuf-2.0 >= 2.0.0
        gmodule-2.0 >= 2.0.0
        gio-2.0 >= 2.16.0
        libbonobo-2.0 >= 2.0.0
        libgnome-2.0 >= 2.0.0
        libgnome-menu >= 2.11.1
        libgnomeui-2.0 >= 2.5.92
        libxml-2.0 >= 2.4.6
        gtk+-2.0 >= 2.12
        libsoup-2.4
        libgtop-2.0 >= 2.13.3
) were not met:

No package 'bonobo-activation-2.0' found
No package 'libbonobo-2.0' found
No package 'libgnome-2.0' found
No package 'libgnome-menu' found
No package 'libgnomeui-2.0' found
No package 'libsoup-2.4' found
No package 'libgtop-2.0' 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 BUG_BUDDY_CFLAGS
and BUG_BUDDY_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

###########################################libbonobo###########################################
localhost:/usr/yiyz/bugbuddy # rpm -ivh popt-devel-1.7-20.1.i586.rpm
warning: popt-devel-1.7-20.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:popt-devel             ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh indent-2.2.10-1.36.i586.rpm
warning: indent-2.2.10-1.36.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:indent                 ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libidl-devel-0.8.11-1.27.i586.rpm
warning: libidl-devel-0.8.11-1.27.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libidl-devel           ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh orbit2-devel-2.14.16-1.23.i586.rpm 
warning: orbit2-devel-2.14.16-1.23.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:orbit2-devel           ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libbonobo-devel-2.24.0-1.19.i586.rpm
warning: libbonobo-devel-2.24.0-1.19.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libbonobo-devel        ########################################### [100%]
###########################################libbonobo###########################################

#######################################libgnome-devel#######################################
localhost:/usr/yiyz/bugbuddy # rpm -ivh dbus-1-1.2.4-5.1.i586.rpm --force
warning: dbus-1-1.2.4-5.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:dbus-1                 ########################################### [100%]
insserv: warning: script 'S01oracle-xe' missing LSB tags and overrides
insserv: warning: script 'K01apachectl' missing LSB tags and overrides
insserv: warning: script 'iptables-setup.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `iptables-setup.sh'
insserv: warning: script 'apachectl' missing LSB tags and overrides
insserv: warning: script 'sethostnamedefault.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `sethostnamedefault.sh'
insserv: warning: script 'clean-old-cards.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `clean-old-cards.sh'
insserv: warning: script 'oracle-xe' missing LSB tags and overrides
insserv: warning: script 'runsu' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `runsu'
insserv: warning: script 'sethostname.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `sethostname.sh'
insserv: warning: script 'swap-cards.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `swap-cards.sh'
Starting SuSEconfig, the SuSE Configuration Tool...
Running module permissions only
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.permissions...
Checking permissions and ownerships - using the permissions files
        /etc/permissions
        /etc/permissions.easy
        /etc/permissions.d/postfix
        /etc/permissions.local
setting /usr/src/packages/SOURCES/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/BUILD/ to root:root 1777. (wrong permissions 0755)
setting /usr/src/packages/SPECS/ to root:root 1777. (wrong permissions 0755)
Finished.
localhost:/usr/yiyz/bugbuddy # rpm -ivh dbus-1-devel-1.2.4-5.1.i586.rpm
warning: dbus-1-devel-1.2.4-5.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
        package dbus-1-devel-1.2.4-5.1.i586 is already installed
localhost:/usr/yiyz/bugbuddy # rpm -ivh dbus-1-devel-1.2.4-5.1.i586.rpm 
warning: dbus-1-devel-1.2.4-5.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
        package dbus-1-devel-1.2.4-5.1.i586 is already installed
localhost:/usr/yiyz/bugbuddy # rpm -ivh dbus-1-glib-devel-0.76-32.1.i586.rpm
warning: dbus-1-glib-devel-0.76-32.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
        package dbus-1-glib-devel-0.76-32.1.i586 is already installed
localhost:/usr/yiyz/bugbuddy # rpm -ivh gconf2-devel-2.24.0-2.15.i586.rpm
warning: gconf2-devel-2.24.0-2.15.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:gconf2-devel           ########################################### [100%]
localhost:/usr/yiyz/bugbuddy #
localhost:/usr/yiyz/bugbuddy # rpm -ivh hal-0.5.12-10.1.i586.rpm --force
warning: hal-0.5.12-10.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:hal                    ########################################### [100%]
insserv: warning: script 'S01oracle-xe' missing LSB tags and overrides
insserv: warning: script 'K01apachectl' missing LSB tags and overrides
insserv: warning: script 'iptables-setup.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `iptables-setup.sh'
insserv: warning: script 'apachectl' missing LSB tags and overrides
insserv: warning: script 'sethostnamedefault.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `sethostnamedefault.sh'
insserv: warning: script 'clean-old-cards.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `clean-old-cards.sh'
insserv: warning: script 'oracle-xe' missing LSB tags and overrides
insserv: warning: script 'runsu' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `runsu'
insserv: warning: script 'sethostname.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `sethostname.sh'
insserv: warning: script 'swap-cards.sh' missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script `swap-cards.sh'
localhost:/usr/yiyz/bugbuddy # rpm -ivh libusbpp-0_1-4-0.1.12-136.10.i586.rpm --force
warning: libusbpp-0_1-4-0.1.12-136.10.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libusbpp-0_1-4         ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libusb-devel-0.1.12-136.10.i586.rpm
warning: libusb-devel-0.1.12-136.10.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
        package libusb-devel-0.1.12-136.10.i586 is already installed
localhost:/usr/yiyz/bugbuddy # rpm -ivh libcom_err-devel-1.41.1-11.9.i586.rpm 
warning: libcom_err-devel-1.41.1-11.9.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
        package libcom_err-devel-1.41.1-11.9.i586 is already installed
localhost:/usr/yiyz/bugbuddy # rpm -ivh libblkid-devel-1.41.1-11.9.i586.rpm 
warning: libblkid-devel-1.41.1-11.9.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
        package libblkid-devel-1.41.1-11.9.i586 is already installed
localhost:/usr/yiyz/bugbuddy # rpm -ivh libext2fs-devel-1.41.1-11.9.i586.rpm 
warning: libext2fs-devel-1.41.1-11.9.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
        package libext2fs-devel-1.41.1-11.9.i586 is already installed
localhost:/usr/yiyz/bugbuddy # rpm -ivh hal-devel-0.5.12-10.1.i586.rpm
warning: hal-devel-0.5.12-10.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
        package hal-devel-0.5.12-10.1.i586 is already installed
localhost:/usr/yiyz/bugbuddy #
localhost:/usr/yiyz/bugbuddy # rpm -ivh tack-5.6-89.10.i586.rpm 
warning: tack-5.6-89.10.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:tack                   ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # 
localhost:/usr/yiyz/bugbuddy # rpm -ivh ncurses-devel-5.6-89.10.i586.rpm 
warning: ncurses-devel-5.6-89.10.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:ncurses-devel          ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh readline-devel-5.2-141.10.i586.rpm 
warning: readline-devel-5.2-141.10.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:readline-devel         ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libxml2-devel-2.7.1-9.1.i586.rpm 
warning: libxml2-devel-2.7.1-9.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libxml2-devel          ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh gnome-vfs2-devel-2.24.0-4.1.i586.rpm
warning: gnome-vfs2-devel-2.24.0-4.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:gnome-vfs2-devel       ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh audiofile-devel-0.2.6-141.10.i586.rpm
warning: audiofile-devel-0.2.6-141.10.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:audiofile-devel        ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh alsa-devel-1.0.18-8.7.i586.rpm 
warning: alsa-devel-1.0.18-8.7.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:alsa-devel             ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libesd-devel-0.2.39-4.1.i586.rpm 
warning: libesd-devel-0.2.39-4.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libesd-devel           ########################################### [100%]
localhost:/usr/yiyz/bugbuddy #  rpm -ivh libgnome-devel-2.24.1-1.35.i586.rpm 
warning: libgnome-devel-2.24.1-1.35.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgnome-devel         ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # 
#######################################libgnome-devel#######################################

#######################################libgnome-menu#######################################

localhost:/usr/yiyz/bugbuddy # rpm -ivh libgnome-menu2-2.24.1-3.1.i586.rpm --force
warning: libgnome-menu2-2.24.1-3.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgnome-menu2         ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh gnome-menus-devel-2.24.1-3.1.i586.rpm 
warning: gnome-menus-devel-2.24.1-3.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:gnome-menus-devel      ########################################### [100%]

#######################################libgnome-menu#######################################

#######################################libgnomeui-devel#######################################
localhost:/usr/yiyz/bugbuddy # rpm -ivh libgnomeui-2.24.0-1.33.i586.rpm --force
warning: libgnomeui-2.24.0-1.33.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgnomeui             ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libgnomecanvas-devel-2.20.1.1-25.80.i586.rpm 
warning: libgnomecanvas-devel-2.20.1.1-25.80.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgnomecanvas-devel   ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libbonoboui-devel-2.24.0-1.34.i586.rpm 
warning: libbonoboui-devel-2.24.0-1.34.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libbonoboui-devel      ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh gnome-keyring-devel-2.24.1-6.1.i586.rpm 
warning: gnome-keyring-devel-2.24.1-6.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:gnome-keyring-devel    ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libgnomeui-devel-2.24.0-1.33.i586.rpm 
warning: libgnomeui-devel-2.24.0-1.33.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgnomeui-devel       ########################################### [100%]
#######################################libgnomeui-devel#######################################

#######################################libsoup-devell#######################################
localhost:/usr/yiyz/bugbuddy # rpm -ivh libgpg-error-devel-1.6-6.10.i586.rpm
warning: libgpg-error-devel-1.6-6.10.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgpg-error-devel     ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libgcrypt-devel-1.4.1-4.1.i586.rpm 
warning: libgcrypt-devel-1.4.1-4.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgcrypt-devel        ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libopencdk10-0.6.6-2.13.i586.rpm
warning: libopencdk10-0.6.6-2.13.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libopencdk10           ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libopencdk-devel-0.6.6-2.13.i586.rpm
warning: libopencdk-devel-0.6.6-2.13.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libopencdk-devel       ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libgnutls-devel-2.4.1-24.1.i586.rpm
warning: libgnutls-devel-2.4.1-24.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgnutls-devel        ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libsoup-devel-2.24.1-1.13.i586.rpm
warning: libsoup-devel-2.24.1-1.13.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libsoup-devel          ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # 
#######################################libsoup-devell#######################################

#######################################libgtop-devell#######################################
localhost:/usr/yiyz/bugbuddy # rpm -ivh gdbm-devel-1.8.3-371.8.i586.rpm
warning: gdbm-devel-1.8.3-371.8.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:gdbm-devel             ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libgtop-devel-2.24.0-1.19.i586.rpm
warning: libgtop-devel-2.24.0-1.19.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgtop-devel          ########################################### [100%]
#######################################libgtop-devell#######################################

4.Download and install missed packages libebook
localhost:/usr/src/packages/SOURCES/bug-buddy-2.24.1 # ./configure
.....
checking for BUG_BUDDY_EDS... configure: error: Package requirements (libebook-1.2 >= 1.3.0) were not met:

No package 'libebook-1.2' 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 BUG_BUDDY_EDS_CFLAGS
and BUG_BUDDY_EDS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


localhost:/usr/yiyz/bugbuddy # rpm -ivh evolution-data-server-2.24.1.1-5.1.i586.rpm --force
warning: evolution-data-server-2.24.1.1-5.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:evolution-data-server  ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libgnome-certauth0-0.3-3.79.i586.rpm
warning: libgnome-certauth0-0.3-3.79.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgnome-certauth0     ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh gnome-certauth-devel-0.3-3.79.i586.rpm 
warning: gnome-certauth-devel-0.3-3.79.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:gnome-certauth-devel   ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh keyutils-devel-1.2-107.4.i586.rpm 
warning: keyutils-devel-1.2-107.4.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:keyutils-devel         ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh krb5-devel-1.6.3-132.1.i586.rpm
warning: krb5-devel-1.6.3-132.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:krb5-devel             ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libglade2-devel-2.6.3-1.41.i586.rpm 
warning: libglade2-devel-2.6.3-1.41.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libglade2-devel        ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libnsssharedhelper0-1.0.4-1.5.i586.rpm --force
warning: libnsssharedhelper0-1.0.4-1.5.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libnsssharedhelper0    ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh mozilla-nspr-4.7.1-20.47.i586.rpm --force
warning: mozilla-nspr-4.7.1-20.47.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:mozilla-nspr           ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh mozilla-nspr-devel-4.7.1-20.47.i586.rpm 
warning: mozilla-nspr-devel-4.7.1-20.47.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:mozilla-nspr-devel     ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh mozilla-nss-3.12.0-54.11.i586.rpm --force
warning: mozilla-nss-3.12.0-54.11.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:mozilla-nss            ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh mozilla-nss-devel-3.12.0-54.11.i586.rpm
warning: mozilla-nss-devel-3.12.0-54.11.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:mozilla-nss-devel      ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh nss-shared-helper-devel-1.0.4-1.5.i586.rpm
warning: nss-shared-helper-devel-1.0.4-1.5.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:nss-shared-helper-devel########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh sqlite3-devel-3.6.4-1.8.i586.rpm 
warning: sqlite3-devel-3.6.4-1.8.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:sqlite3-devel          ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh cyrus-sasl-devel-2.1.22-182.1.i586.rpm 
warning: cyrus-sasl-devel-2.1.22-182.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:cyrus-sasl-devel       ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh evoldap2-devel-2.4.12-4.4.i586.rpm 
warning: evoldap2-devel-2.4.12-4.4.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:evoldap2-devel         ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh evolution-data-server-devel-2.24.1.1-5.1.i586.rpm
warning: evolution-data-server-devel-2.24.1.1-5.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:evolution-data-server-d########################################### [100%]
localhost:/usr/yiyz/bugbuddy # 
localhost:/usr/yiyz/bugbuddy # rpm -ivh evolution-data-server-2.24.1.1-5.1.i586.rpm --force
warning: evolution-data-server-2.24.1.1-5.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:evolution-data-server  ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libgnome-certauth0-0.3-3.79.i586.rpm
warning: libgnome-certauth0-0.3-3.79.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libgnome-certauth0     ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh gnome-certauth-devel-0.3-3.79.i586.rpm 
warning: gnome-certauth-devel-0.3-3.79.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:gnome-certauth-devel   ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh keyutils-devel-1.2-107.4.i586.rpm 
warning: keyutils-devel-1.2-107.4.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:keyutils-devel         ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh krb5-devel-1.6.3-132.1.i586.rpm
warning: krb5-devel-1.6.3-132.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:krb5-devel             ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libglade2-devel-2.6.3-1.41.i586.rpm 
warning: libglade2-devel-2.6.3-1.41.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libglade2-devel        ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh libnsssharedhelper0-1.0.4-1.5.i586.rpm --force
warning: libnsssharedhelper0-1.0.4-1.5.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:libnsssharedhelper0    ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh mozilla-nspr-4.7.1-20.47.i586.rpm --force
warning: mozilla-nspr-4.7.1-20.47.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:mozilla-nspr           ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh mozilla-nspr-devel-4.7.1-20.47.i586.rpm 
warning: mozilla-nspr-devel-4.7.1-20.47.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:mozilla-nspr-devel     ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh mozilla-nss-3.12.0-54.11.i586.rpm --force
warning: mozilla-nss-3.12.0-54.11.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:mozilla-nss            ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh mozilla-nss-devel-3.12.0-54.11.i586.rpm
warning: mozilla-nss-devel-3.12.0-54.11.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:mozilla-nss-devel      ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh nss-shared-helper-devel-1.0.4-1.5.i586.rpm
warning: nss-shared-helper-devel-1.0.4-1.5.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:nss-shared-helper-devel########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh sqlite3-devel-3.6.4-1.8.i586.rpm 
warning: sqlite3-devel-3.6.4-1.8.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:sqlite3-devel          ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh cyrus-sasl-devel-2.1.22-182.1.i586.rpm 
warning: cyrus-sasl-devel-2.1.22-182.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:cyrus-sasl-devel       ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh evoldap2-devel-2.4.12-4.4.i586.rpm 
warning: evoldap2-devel-2.4.12-4.4.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:evoldap2-devel         ########################################### [100%]
localhost:/usr/yiyz/bugbuddy # rpm -ivh evolution-data-server-devel-2.24.1.1-5.1.i586.rpm
warning: evolution-data-server-devel-2.24.1.1-5.1.i586.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Preparing...                ########################################### [100%]
   1:evolution-data-server-d########################################### [100%]
localhost:/usr/yiyz/bugbuddy #

5.Download and install missed packages libelf
localhost:/usr/src/packages/SOURCES/bug-buddy-2.24.1 # ./configure
checking libelf.h usability... no
checking libelf.h presence... no
checking for libelf.h... no
configure: error: libelf.h not found.

rpm -ivh libelf-devel-0.137-3.11.i586.rpm

 

 

Part2: Build bug-buddy with rpmbuild

(1)Install the source rpm package.

(2)Change the source files in BUILD directory and compressed it by tar, copy this tar.bz2 file to SOURCE directory.

(3)Change spec file in SPECS directory.

(4)Build all with rpmbuild -ba ..

(5)Verify the built files.

 

Issues and solutions:

1. After the build and install the rpm files, the system prompts Gtk-Message: Failed to load module "gnomebreakpad" when launching.

Solution: Build the rpm file with a clean files and then change the source files. Original source files has some changes in configure files etc.

 

Reference:

(1)http://linuxmafia.com/pub/linux/suse-linux-internals/chapter35.html

(2)http://www.rpm.org/max-rpm-snapshot/ch-rpm-b-command.html


你可能感兴趣的:(Linux,Manage)