LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2008, 07:31 AM   #1
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18
Downloaded Wireshark source code and while make rpm got this error, kindly help


Hi!

I have downloaded Wireshark from "http://sourceforge.net/project/downloading.php?group_id=255&use_mirror=jaist&filename=wireshark-0.99.8.tar.gz&43465604" link and installed it successfully.

But while making a rpm as suggested by README file, I am getting following error message. As being newbie in Linux, don't know what to do next.

"Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.24420
+ umask 022
+ cd /root/wireshark-0.99.8/packaging/rpm/BUILD
+ cd wireshark-0.99.8
+ DOCDIR=/tmp/wireshark-0.99.8-root/usr/share/doc/wireshark-0.99.8
+ export DOCDIR
+ rm -rf /tmp/wireshark-0.99.8-root/usr/share/doc/wireshark-0.99.8
+ /bin/mkdir -p /tmp/wireshark-0.99.8-root/usr/share/doc/wireshark-0.99.8
+ cp -pr AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README README.aix README.bsd README.hpux README.irix README.linux REAmacos README.tru64 README.vmware README.win32 /tmp/wireshark-0.99.8-root/usr/share/doc/wireshark-0.99.8
+ exit 0


RPM build errors:
File not found by glob: /tmp/wireshark-0.99.8-root/usr/man/*/*
make: *** [rpm-package] Error 1"

Tried to find on Wireshark.org's FAQ and Mailing List but could not find any solution.

Kindly help.

Regards,
PK
 
Old 03-20-2008, 08:09 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by pkhera_2001 View Post
File not found by glob: /tmp/wireshark-0.99.8-root/usr/man/*/*
This will fail on systems that don't have %{prefix}/man or where %{prefix}/man is a symbolic link to %{prefix}/share/man. Here's a patch for packaging/rpm/SPECS/wireshark.spec.in.
Code:
--- wireshark.spec.in	2008-02-27 20:59:03.000000000 +0100
+++ wireshark.spec.in	2008-02-27 20:59:04.000000000 +0100
@@ -45,7 +45,7 @@
 %prefix/lib/*
 %prefix/share/wireshark/*
 %prefix/share/wireshark/*/*
-%prefix/man/*/*
+%prefix/share/man/*/*
 
 %changelog
 * Thu Aug 10 2006 Joerg Mayer
If you care please notify the developers.

* BTW building RPMs as root account user is not a best practice.

Last edited by unSpawn; 03-20-2008 at 08:10 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireshark rpm for Red Hat Enterprise 5 thiagarn Linux - Newbie 3 03-01-2008 02:03 PM
about `make` and debug source code naihe2010 Programming 9 12-13-2005 05:03 AM
RPM vs compiling from Source Code ceci2 Linux - Enterprise 4 03-15-2005 03:58 PM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 10:42 AM
specific source code and RPM for distro bshelton Linux - General 2 09-15-2003 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration