aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [solved] Error with rpmbuild CVS in Fedora  (Read 3219 times)

agarsab

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 7
  • angel
    • Personal blog
[solved] Error with rpmbuild CVS in Fedora
« on: May 03, 2007, 07:42:28 PM »

Hi all,

I moved from 2.1.3 to CVS version to forget the problems with files greater than 4 GB.
Now I use a CVS version compiled with wxGTK 2.8 in a Fedora Core 6 with x86_64 arch, without problem.

With the same tarball, I'm trying to make a rpm package to share with other people, but I get this error:

Code: [Select]
[root@bender linux]# rpmbuild -ta aMule-CVS-20070503.tar.bz2

make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/pixmaps" || mkdir -p -- "/var/tmp/aMule-CVS-20070503-root-root/usr/share/pixmaps"
 /usr/bin/install -c -m 644 'amule.xpm' '/var/tmp/aMule-CVS-20070503-root-root/usr/share/pixmaps/amule.xpm'
test -z "/usr/share/applications" || mkdir -p -- "/var/tmp/aMule-CVS-20070503-root-root/usr/share/applications"
 /usr/bin/install -c -m 644 'amule.desktop' '/var/tmp/aMule-CVS-20070503-root-root/usr/share/applications/amule.desktop'
make[2]: Leaving directory `/usr/src/redhat/BUILD/amule-cvs'
make[1]: Leaving directory `/usr/src/redhat/BUILD/amule-cvs'
+ /usr/lib/rpm/redhat/find-lang.sh /var/tmp/aMule-CVS-20070503-root-root amule
No translations found for amule in /var/tmp/aMule-CVS-20070503-root-root
error: Bad exit status from /var/tmp/rpm-tmp.85953 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.85953 (%install)

Can anyone tell me what I'm missing?. Thanks in advance. ;D

Following the instructions for this forum...
Code: [Select]
[root@bender linux]# ls -l /usr/bin/wx*
-rwxr-xr-x 1 root root 1192200 Oct  7  2006 /usr/bin/wxcas
lrwxrwxrwx 1 root root      45 May  3 13:10 /usr/bin/wx-config -> /usr/lib64/wx/config/gtk2-unicode-release-2.8
lrwxrwxrwx 1 root root       8 May  3 13:10 /usr/bin/wxrc -> wxrc-2.8
-rwxr-xr-x 1 root root  103056 Apr 15 19:18 /usr/bin/wxrc-2.8

[root@bender linux]# ls -l /usr/local/bin/wx*
ls: /usr/local/bin/wx*: No such file or directory

[root@bender linux]# rpm -qa | grep wx
wxGTK-devel-2.8.3-2.fc7
compat-wxGTK26-2.6.3-2
wxGTK-gl-2.8.3-2.fc7
wxGTK-2.8.3-2.fc7
« Last Edit: May 03, 2007, 09:20:59 PM by agarsab »
Logged

agarsab

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 7
  • angel
    • Personal blog
Re: Error with rpmbuild CVS in Fedora
« Reply #1 on: May 03, 2007, 09:20:33 PM »

I found a valuable comment, I forget a library, but now I have the rpm ready. ;D

stephen71, this last error is because gettext-devel is not installed on your system. Therefore no translations are built, but they are expected to be present => Problem.
If you really want to build aMule yourself, install gettext-devel and do it again...


Logged