LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2015, 08:55 AM   #1
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 140

Rep: Reputation: Disabled
cannot build wxGTK3


I'm trying to build a Slackware package under Slackware64 14.1 using a script from Slackbuild. The shell give me this error

Code:
In file included from /usr/include/glib-2.0/glib/gtypes.h:32:0,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from ./include/wx/gtk/private.h:14,
                 from ./src/gtk/clipbrd.cpp:36:
./src/gtk/clipbrd.cpp: In function 'void selection_handler(GtkWidget*, GtkSelectionData*, guint, guint, gpointer)':
/usr/lib/glib-2.0/include/glibconfig.h:86:48: error: cast from 'gpointer {aka void*}' to 'guint {aka unsigned int}' loses precision [-fpermissive]
 #define GPOINTER_TO_UINT(p) ((guint) (guint) (p))
                                                ^
./src/gtk/clipbrd.cpp:279:27: note: in expansion of macro 'GPOINTER_TO_UINT'
         guint timestamp = GPOINTER_TO_UINT (signal_data);
                           ^
/usr/lib/glib-2.0/include/glibconfig.h:86:48: error: cast from 'gpointer {aka void*}' to 'guint {aka unsigned int}' loses precision [-fpermissive]
 #define GPOINTER_TO_UINT(p) ((guint) (guint) (p))
                                                ^
./src/gtk/clipbrd.cpp:299:16: note: in expansion of macro 'GPOINTER_TO_UINT'
                GPOINTER_TO_UINT( signal_data )
                ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:28:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from ./include/wx/gtk/private.h:14,
                 from ./src/gtk/clipbrd.cpp:36:
./src/gtk/clipbrd.cpp: In member function 'virtual bool wxClipboard::AddData(wxDataObject*)':
/usr/lib/glib-2.0/include/glibconfig.h:89:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 #define GUINT_TO_POINTER(u) ((gpointer) (guint) (u))
                                                   ^
/usr/include/glib-2.0/gobject/gsignal.h:472:73: note: in definition of macro 'g_signal_connect'
     g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
                                                                         ^
./src/gtk/clipbrd.cpp:651:23: note: in expansion of macro 'GUINT_TO_POINTER'
                       GUINT_TO_POINTER (gtk_get_current_event_time()) );
                       ^
make: *** [coredll_gtk_clipbrd.o] Errore 1
anyone can help me?

Last edited by Francexi; 08-28-2015 at 07:16 AM.
 
Old 08-28-2015, 06:41 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
? Which version of Slackware64 ? ?

? Slackware64 - 14.1 ?
. http://www.linuxquestions.org/linux/...Ask_a_Question

. http://www.catb.org/~esr/faqs/smart-questions.html


-
 
Old 08-28-2015, 07:01 AM   #3
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 140

Original Poster
Rep: Reputation: Disabled
Yes, 14.1
 
Old 08-28-2015, 08:11 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
No issues here, # sh wxGTK3.Slackbuild
http://slackbuilds.org/repository/14...?search=wxgtk3
... The package is created OK.

? Are you sure your original glib2-2.36.4-x86_64-1(.txz) is OK ?
... May be reinstall the package.

? Are you compiling with webkitgtk ? Any webkitgtk or webkitgtk3 installed ?


-
 
Old 09-03-2015, 08:34 AM   #5
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 140

Original Poster
Rep: Reputation: Disabled
uhm, i'm using a multilib glibc package by alien. webkitgtk is not installed
 
Old 09-03-2015, 11:57 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #5.

My question (post #4) was about glib2-2*. ( The gnome glib.)
https://en.wikipedia.org/wiki/GLib

Glibc is the "Gnu libc", the fundamental library of any Linux OS.
? What's the package name of your "alien multilib glibc" ?
Can't you just temporarily uninstall the critical multilib *glib* packages while compiling wxGTK3 ?

Please list your glib* packages :
$ ls /var/log/packages/glib2*
$ ls /var/log/packages/glibc*
 
  


Reply

Tags
wxgtk3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WXGTK3 Problem GreenFireFly Slackware 4 10-28-2014 11:17 AM
[SOLVED] i can't perfome make install commond while build binutils-build LFS plzzz help me Carl_cj Linux From Scratch 19 09-04-2014 11:52 AM
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
LXer: Add an Auto-Incrementing Build-Number to Your Build Process LXer Syndicated Linux News 0 07-09-2008 01:00 AM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration