LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-07-2015, 01:12 PM   #1
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26
SlackBuild for wxPython 3.0.2.0


Hi guys, i tried today compile wxPython 3.0.2.0 using old slackbuild i did some modifications but no sucess.

Anyone have one .slackbuild for wxPython 3.0.2.0?
 
Old 10-07-2015, 02:59 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
What are the errors you're seeing? I didn't find any updated slackbuilds via a quick google search...
 
1 members found this post helpful.
Old 10-07-2015, 03:08 PM   #3
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by bassmadrigal View Post
What are the errors you're seeing? I didn't find any updated slackbuilds via a quick google search...
Hi,

I found one, but i give always same error.
Here the source
http://ftp.halpanet.org/slackware/sl...1/l/wxpython3/

Code:
------------------------------------------------------
 
 The installation of wxWidgets is finished.  On certain
 platforms (e.g. Linux) you'll now have to run ldconfig
 if you installed a shared library and also modify the
 LD_LIBRARY_PATH (or equivalent) environment variable.
 
 wxWidgets comes with no guarantees and doesn't claim
 to be suitable for any purpose.
 
 Read the wxWindows Licence on licencing conditions.
 
 ------------------------------------------------------
 
WARNING: WXWIN not set in environment. Assuming '..'
Preparing CORE...
Preparing STC...
Preparing GLCANVAS...
Preparing GIZMOS...
running build_ext
running build
running build_py
creating build
creating build/lib
copying wxversion/wxversion.py -> build/lib
running build_ext
building '_core_' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/gtk
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DSWIG_PYTHON_SILENT_MEMLEAK -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -Iinclude -Isrc -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/tmp/SBo/wxPython-src-3.0.2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/tmp/SBo/wxPython-src-*/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/python2.7 -c src/helpers.cpp -o build/temp.linux-x86_64-2.7/src/helpers.o -pthread -O3 -pthread
cc1plus: warning: command line option -Wstrict-prototypes is valid for C/ObjC but not for C++
In file included from /tmp/SBo/wxPython-src-3.0.2.0/include/wx/defs.h:27:0,
                 from /tmp/SBo/wxPython-src-3.0.2.0/include/wx/wx.h:14,
                 from include/wx/wxPython/wxPython_int.h:35,
                 from src/helpers.cpp:17:
/tmp/SBo/wxPython-src-3.0.2.0/include/wx/platform.h:183:22: fatal error: wx/setup.h: File or directory not found
 #include "wx/setup.h"
                      ^
compilation terminated.
error: command 'gcc' failed with exit status 1

Last edited by Candelabrus; 10-07-2015 at 03:11 PM.
 
Old 10-07-2015, 08:29 PM   #4
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled
Quote:
Originally Posted by Candelabrus View Post
Code:
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/gtk
gcc *snip*-I/tmp/SBo/wxPython-src-*/lib/wx/include/gtk2-unicode-3.0*snip*
In file included from /tmp/SBo/wxPython-src-3.0.2.0/include/wx/defs.h:27:0,
                 from /tmp/SBo/wxPython-src-3.0.2.0/include/wx/wx.h:14,
                 from include/wx/wxPython/wxPython_int.h:35,
                 from src/helpers.cpp:17:
From the SlackBuild:
Code:
PRGNAM=wxpython3
VERSION=${VERSION:-$(echo $PRGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
Try changing the version line. The source file is wxpython-src-3.0.2.0.tar.bz2, but the VERSION line is trying to match wxpython3-src-3.0.2.0.tar.bz2 and failing.
 
1 members found this post helpful.
Old 10-07-2015, 11:09 PM   #5
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Original Poster
Rep: Reputation: 26
@turtleli

Many many thanks, you were right.

I did some modifications and now are everything ok
Here the modified .SlackBuild for wxPython 3.0.2.0

http://pastebin.com/tJjsCAav
 
  


Reply



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
Can't compile wxPython Slackbuild in 32-bit (but works fine for 64-bit) Eldarby Linux - Software 7 07-29-2012 12:00 PM
wxPython merchtemeagle Linux - Software 3 02-23-2005 10:50 AM
wxPython xlord Programming 0 05-23-2004 04:12 PM
wxPython. vexer Slackware 5 09-22-2003 03:11 PM
wxPython Filsta Linux - Software 0 08-20-2002 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:16 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