ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Problem...

From: "Herb Falk <herb@xxxxxxxxxxxx>" <Herb@xxxxxxxxxxxx>
Date: Sun, 17 Nov 2013 21:36:50 +0000
Here is what is in config.nmake: INSTALL_DIR=wireshark-gtk2

Here is the path and the file: C:\wireshark\wireshark-gtk2\share\glib-2.0\schemas\gschemas.compiled

So it was there, there is another problem then?  Where do the "preferences" go?



Herbert Falk
Solutions Architect
SISCO, INC.
6605 19 ½ Mile Rd.
Sterling Heights, MI 48314
(586) 254-0020 x-105


                                                                               
"In matters of style, swim with the current;   in matters of principle, stand like a rock." [Thomas Jefferson]


NOTICE: This communication may contain privileged or other confidential information. If you are not the intended recipient, or believe that you have  received this communication in error, please do not print, copy, retransmit,  disseminate, or otherwise use the information. Also,  please indicate to the sender that you have received this communication in error, and delete the copy you received. Thank you.


-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Bill Meier
Sent: Sunday, November 17, 2013 3:39 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Problem...

>
> On 11/17/2013 12:53 PM, Herb Falk <herb@xxxxxxxxxxxx> wrote:
>> I just got the SVN stuff to compile, but from the documentation I 
>> can't figure out what file is missing and where to put it.
>>
>
> Based upon some preliminary research, it's possible that a setup command will be needed.
>
> I need to do a little further research;
>
> How are you running the newly-built Wireshark ?
>
>   From the wireshark-gtk2 (or whatever is specified as INSTALL_DIR in
> config.nmake) sub-directory in the source tree ?
>
> In any case, please post the output from 'wireshark -v'.
>
>


Ok: When building wireshark with GTK3 on Windows in a dev environment, a file called gschemas.compiled should be set up under the INSTALL directory as share\glib-2.0\schemas\gschemas.compiled
(INSTALL is defined in config.nmake)


 From the top-level Makefile.nmake:

...
!IFDEF GTK_SCHEMAS_DIR
	if not exist $(INSTALL_DIR)\$(GTK_SCHEMAS_DIR) ^
            mkdir $(INSTALL_DIR)\$(GTK_SCHEMAS_DIR)
	if not exist $(GTK_DIR)\$(GTK_SCHEMAS_DIR)\gschemas.compiled ^
            $(GTK_DIR)\bin\glib-compile-schemas ^
               $(GTK_DIR)\$(GTK_SCHEMAS_DIR)
	xcopy $(GTK_DIR)\$(GTK_SCHEMAS_DIR)\gschemas.compiled ^
               $(INSTALL_DIR)\$(GTK_SCHEMAS_DIR) /d !ENDIF ...


(Note that gschemas.compiled is created as needed using glib-compile-schemas).

I'm not sure why this is not working in your build.

It should have "just worked" ...    :

Is 'C:\wireshark' the directory you've defined as the INSTALL dir in config.nmake ??


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe