Wireshark-dev: Re: [Wireshark-dev] Wireshark 1.4 & Cmake status
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 18 May 2010 16:14:01 +0200
On Mon, May 17, 2010 at 09:58:22PM +0200, Stig Bj?rlykke wrote:
> On Fri, May 14, 2010 at 3:04 PM, Joerg Mayer <jmayer@xxxxxxxxx> wrote:
> > - Non-Linux Unix'ish OSses might or might not work - tests and reports
> >  always welcome.
> 
> On OSX I can compile using Xcode, but using Makefiles the build stops here:
> 
> [ 72%] Generating tshark.1, tshark.html
> [ 72%] Generating AUTHORS-SHORT-FORMAT, wireshark.pod
> /bin/sh: AUTHORS-SHORT: No such file or directory
> make[2]: *** [AUTHORS-SHORT-FORMAT] Error 1
> make[1]: *** [CMakeFiles/auxiliary.dir/all] Error 2
> make: *** [all] Error 2

That is irritating - it's working on my system (build system = Makefile). Can
you please provide a more detailed log? AUTHORS-SHORT should already have been
created before trying to generate AUTHORS-SHORT-FORMAT, see

toplevel CMakeLists.txt:

ADD_CUSTOM_COMMAND(
        OUTPUT  AUTHORS-SHORT-FORMAT
                wireshark.pod
        COMMAND ${PERL}
                ${CMAKE_SOURCE_DIR}/doc/perlnoutf.pl
                ${CMAKE_SOURCE_DIR}/doc/make-authors-format.pl
                < AUTHORS-SHORT
                > AUTHORS-SHORT-FORMAT
        COMMAND cat
                ${CMAKE_SOURCE_DIR}/doc/wireshark.pod.template
                AUTHORS-SHORT-FORMAT
                > wireshark.pod
        DEPENDS
                ${CMAKE_SOURCE_DIR}/doc/perlnoutf.pl
                ${CMAKE_SOURCE_DIR}/doc/make-authors-format.pl
                AUTHORS-SHORT
                ${CMAKE_SOURCE_DIR}/doc/wireshark.pod.template
)

Maybe something went wrong with the current directory or the creation of
AUTHORS-SHORT?

Can you please check whether it tried to generate AUTHORS-SHORT before the
failuer?

Thanks
     Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.