Nikolaos Milas wrote:
On 2/11/2012 9:41 πμ, Nux! wrote:
Try to see if there are RPMs for Fedora 12, these could work
Since you have some (even bad) experience with trying to build gnome-applet-sshmenu on el6, could you check if this:
So, first, were you building as sshmenubuilder, and in your home directory? Did that entire path and file exist in /home/sshmenubuilder?
mark
ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/12/Everything/source/SRPMS/sshmenu-3.16-2.fc12.src.rpm
can be modified/adapted to create an el6 RPM?
Dependencies specified therein:
BuildRequires: ruby Requires: openssh-askpass Requires: ruby(abi) = 1.8 Requires: ruby(gtk2) ... Group: User Interface/Desktops Requires: %{name} = %{version}-%{release} Requires: ruby(gconf2) Requires: ruby(panelapplet2)
If other dependencies exist for Centos 6, it would be useful to add them.
I tried to rpmbuild (I only commented-out patches for 3.15, and changed to 3.18 in spec file - of course I used the latest 3.18 tar.gz) but there was an error - see below. Any suggestions? Am I doing sth wrong?
Nick
$ rpmbuild -ba ~/rpmbuild/SPECS/sshmenu.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fGU9bd
- umask 022
- cd /home/sshmenubuilder/rpmbuild/BUILD
- LANG=C
- export LANG
- unset DISPLAY
- cd /home/sshmenubuilder/rpmbuild/BUILD
- rm -rf sshmenu-3.18
- /bin/tar -xf -
- /usr/bin/gzip -dc
/home/sshmenubuilder/rpmbuild/SOURCES/sshmenu-3.18.tar.gz
- STATUS=0
- '[' 0 -ne 0 ']'
- cd sshmenu-3.18
- /bin/chmod -Rf a+rX,u+w,g-w,o-w .
- exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cl6o2z
- umask 022
- cd /home/sshmenubuilder/rpmbuild/BUILD
- cd sshmenu-3.18
- LANG=C
- export LANG
- unset DISPLAY
- exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n5haUW
- umask 022
- cd /home/sshmenubuilder/rpmbuild/BUILD
- '[' /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64
'!=' / ']'
- rm -rf /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64
++ dirname /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64
- mkdir -p /home/sshmenubuilder/rpmbuild/BUILDROOT
- mkdir /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64
- cd sshmenu-3.18
- LANG=C
- export LANG
- unset DISPLAY
- /bin/rm -rf
/home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64
- /usr/bin/make install
DESTDIR=/home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64 install -d /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/bin /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/lib/ruby/1.8 /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/lib/bonobo/servers install -d /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/lib/gnome-panel /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/share/icons/hicolor/48x48/apps install -d /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/share/man/man1 install -d /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/etc/bash_completion.d install -m644 lib/sshmenu.rb /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/lib/ruby/1.8/sshmenu.rb install -m644 lib/gnome-sshmenu.rb /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/lib/ruby/1.8/gnome-sshmenu.rb install -m644 sshmenu-applet.server /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/lib/bonobo/servers/sshmenu-applet.server install -m755 sshmenu-applet /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/lib/gnome-panel/sshmenu-applet install -m644 sshmenu.1 /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/share/man/man1/sshmenu.1 install -m644 gnome-sshmenu-applet.png /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/share/icons/hicolor/48x48/apps/gnome-sshmenu-applet.png install -m755 bin/sshmenu /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/bin/sshmenu install -m755 bin/sshmenu-gnome /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/bin/sshmenu-gnome install -m644 bash/sshmenu /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/etc/bash_completion.d/sshmenu
- /usr/lib/rpm/find-debuginfo.sh --strict-build-id
/home/sshmenubuilder/rpmbuild/BUILD/sshmenu-3.18 find: `debug': No such file or directory
- /usr/lib/rpm/check-buildroot
- /usr/lib/rpm/redhat/brp-compress
- /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
- /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip
/usr/bin/objdump
- /usr/lib/rpm/brp-python-bytecompile
- /usr/lib/rpm/redhat/brp-python-hardlink
- /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: sshmenu-3.18-2.el6.noarch error: File not found: /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/lib/ruby/site_ruby/1.8/sshmenu.rb Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YPlL8j
- umask 022
- cd /home/sshmenubuilder/rpmbuild/BUILD
- cd sshmenu-3.18
DOCDIR=/home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/share/doc/sshmenu-3.18
- export DOCDIR
- rm -rf
/home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/share/doc/sshmenu-3.18
- /bin/mkdir -p
/home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/share/doc/sshmenu-3.18
- cp -pr Changes License.txt README
/home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/share/doc/sshmenu-3.18
- exit 0
RPM build errors: File not found: /home/sshmenubuilder/rpmbuild/BUILDROOT/sshmenu-3.18-2.el6.x86_64/usr/lib/ruby/site_ruby/1.8/sshmenu.rb
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos