Wireshark-dev: Re: [Wireshark-dev] Building RPM with Lua support
From: "Douglas Pratley" <Douglas.pratley@xxxxxxxxxx>
Date: Tue, 20 Feb 2007 09:43:32 -0000
Hi Luis The "problem" was that the settings for the RPM build are not controlled by switches to the root "./configure" call, but by switches specified in "./packaging/rpm/SPECS/wireshark.specs.in" (which gets used _by_ the root "./configure" to build "wireshark.spec", which in turn _contains_ a second call to "./configure" which controls the RPM build). This is all a bit unintuitive to a Windows guy, and doesn't seem to be documented (I'll try to add a note to the Developer's Guide), but I managed to build an RPM that required Lua to be installed first. Annoyingly, it still doesn't seem to pick up "init.lua", but I'll do some debugging before yelling for help again. Cheers Doug -----Original Message----- From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Luis Ontanon Sent: 16 February 2007 17:40 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Building RPM with Lua support It did not found lua, so it was built without it. you should: - locate lua.h assuming it is in /usr/local/include you should then: $ ./configure --with-lua=/usr/local --whith-this --with-that check in the report at the end of configure whether lua was included or not. please report success or failure. If it fails you should send back the output of: $ find / -name 'lua.h' -or -name 'liblua.a' + the config.log (gzipped please) so I can find out what's wrong with the configure script. Thanks, Luis On 2/16/07, Douglas Pratley <Douglas.pratley@xxxxxxxxxx> wrote: > > > > Hi guys > > I'm having trouble building a Wireshark RPM with Lua support. > > I really a Windows (ugh) guy, so I may be missing something obvious. > > I set up a build environment on Fedora Core 6, installed the libraries for > Lua and for ADNS and then said: > > [my_ws_dir]$ ./autogen.sh > [my_ws_dir]$ ./configure --with-lua --with-adns > [my_ws_dir]$ make all > > And Wireshark waas built and supported both ADNS and Lua when running with > ./wireshark > > > So (after some digging around) I said: > > [my_ws_dir]$ ./make rpm-package > > And a _lot_ later, there was an RPM. > > I took the RPM and tried to install it on a different box, and got told it > needed ADNS. This was good, so I installed ADNS, and then it installed, and > ran > > - and utterly ignored Lua script > I installed Lua.i386, and it still ignored it. > > Anyone know what I might have done wrong? It's baffling me, and as the RPM > package build does a huge copy and clean build every time tweaking it has > eaten my day... > > Cheers > > Doug > > > This message should be regarded as confidential. If you have received this > email in error please notify the sender and destroy it immediately. > Statements of intent shall only become binding when confirmed in hard copy > by an authorised signatory. The contents of this email may relate to > dealings with other companies within the Detica Group plc group of > companies. > > Detica Limited is registered in England under No: 1337451. > > Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, > England. > > > _______________________________________________ > Wireshark-dev mailing list > Wireshark-dev@xxxxxxxxxxxxx > http://www.wireshark.org/mailman/listinfo/wireshark-dev > > -- This information is top security. When you have read it, destroy yourself. -- Marshall McLuhan _______________________________________________ Wireshark-dev mailing list Wireshark-dev@xxxxxxxxxxxxx http://www.wireshark.org/mailman/listinfo/wireshark-dev
- Prev by Date: Re: [Wireshark-dev] Patch to decode ERF type 5 record
- Next by Date: [Wireshark-dev] Function to decode messages when several encoding can be used
- Previous by thread: Re: [Wireshark-dev] Building RPM with Lua support
- Next by thread: [Wireshark-dev] DESEGMENT_ONE_MORE_SEGMENT over iax
- Index(es):