After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 412241 - not supported in systems which doesn't have gtk installation
not supported in systems which doesn't have gtk installation
Status: RESOLVED NOTABUG
Product: gtkmm
Classification: Bindings
Component: build
1.2
Other All
: Normal minor
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2007-02-26 13:49 UTC by jeyanthi
Modified: 2007-02-26 16:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description jeyanthi 2007-02-26 13:49:32 UTC
we have successfully created a gtk binary executable in Fedora 6 by using the command  gcc filename.c -o filename `pkg-config --cflags --libs gtk+-2.0`.  but this executable is not running in systems which doesn't have gtk installed please any one of u suggest me how to create a gtk application which is executes in all linux distributions

Other information:
Comment 1 Jonathon Jongsma 2007-02-26 16:51:21 UTC
The way that you are compiling and linking will result in a dynamically linked executable.  What you seem to want is a statically linked executable.  If you can show that there is a bug in gtkmm that prevents static linking, please re-open this bug with additional information.  

Otherwise, this doesn't seem to be a gtkmm issue.  It's simply a matter of how you choose to link your executable.  

Note, however that gtkmm's license (LGPL) prohibits certain types of applications from linking it statically.  See http://www.gnu.org/licenses/lgpl.html#SEC1 for more information.