Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Problems building on Mac

Date: Wed, 15 Feb 2012 17:55:36 +0000
> I am trying to build Wireshark on a Mac running OS X 10.6.8 and I'm 
having 
> problems.

snip...

> I found a bug report and patch file on the Wireshark web site that 
> suggests it fixes this. So I ran that and now I get the error

> Building Wireshark 1.6.5 Intel 64
>   Building Wireshark 1.6.5 Intel 64
>   Creating shell
>   Copying resources
>     ERROR: Could not copy resources to "en.lproj".
>   Creating Distribution Script
>   Constructing flat mpkg
> make: *** [osx-package] Error 1

After much searching and faffing I have finally found out what the problem 
was.

It turns out the Wireshark package.pmdoc file I had got from the
patch had an absolute path name to the COPYING.txt licence
file. This path started /Users/gcombs/ That was the file
it couldn't read, nothing to do with en.lproj

Running the package maker GUI editor and changing this to
a file name relative to the package made it all work.

Inside Wireshark package.pmdoc the index.xml file needs
changing from

<locale lang="en">
<resource type="license">
/Users/gcombs/Development/wireshark/packaging/macosx/COPYING.txt
</resource>
</locale>

to

<locale lang="en">
<resource relative="true" mod="true" type="license">COPYING.txt</resource>
</locale>

Regards

Andy Ling


-- 

This e-mail is intended for the named addressees only. Its contents may be 
privileged or confidential and should be treated as such. If you are not 
an intended recipient please notify the sender immediately and then delete 
it;  do not copy, distribute, or take any action based on this e-mail. In 
the pursuit of its legitimate business activities and its conformance with 
relevant legislation, Quantel may access any e-mail (including 
attachments) it originates or receives, for potential scrutiny. 

Quantel is the trade name used by Quantel Holdings Limited and its 
subsidiaries.  Quantel Holdings Limited is registered in England & Wales. 
Registration No: 4004913 
Contact details for all Quantel Offices and Companies can be found on our 
website www.quantel.com or by writing to the holding company.
Registered address: Turnpike Road, Newbury, Berkshire, RG14 2NX, United 
Kingdom