Shouldn't this also depend on lua51 not lua?
Search Criteria
Package Details: wxlua 3.2.0.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/wxlua.git (read-only, click to copy) |
---|---|
Package Base: | wxlua |
Description: | Lua bindings for wxWidgets (Lua 5.3+ compatible fork) |
Upstream URL: | https://github.com/pkulchenko/wxlua |
Licenses: | wxwindows |
Submitter: | farvardin |
Maintainer: | alerque |
Last Packager: | alerque |
Votes: | 24 |
Popularity: | 0.000000 |
First Submitted: | 2009-02-12 21:21 (UTC) |
Last Updated: | 2024-04-02 08:26 (UTC) |
Dependencies (6)
- desktop-file-utils (desktop-file-utils-gitAUR)
- lua
- wxwidgets-gtk3 (wxwidgets-gtk3-gitAUR, wxwidgets-gtk3-lightAUR)
- cmake (cmake-gitAUR) (make)
- cppcheck (cppcheck-gitAUR) (check)
- webkit2gtk (webkit2gtk-imgpasteAUR) (optional)
Required by (1)
Sources (1)
losinggeneration commented on 2013-02-22 15:21 (UTC)
Afwas commented on 2012-12-16 18:47 (UTC)
The comment by cptG fixed the build for me. Thanks
cptG commented on 2012-12-16 17:36 (UTC)
This fails to build if you have lua 5.2 installed.
To make the build work, I added the line:
ln -s /usr/lib/liblua5.1.so ./liblua.so
to PKGBUILD before the make line and changed the make line to:
make CXXFLAGS=-I/usr/include/lua5.1 LDFLAGS=-L"$srcdir/$pkgname-$pkgver"
So the build picks up lua 5.1's headers and .so
Not sure if there is a more elegant way
Afwas commented on 2012-12-16 06:24 (UTC)
I have errors building wxlua. Both from PKGBUILD and the hint three comments down.
http://sprunge.us/SeVK
losinggeneration commented on 2012-07-27 17:04 (UTC)
It looks like the makefile is not parallel job safe. MAKEFLAGS should thus either be unset or perhaps better (but harder to get right IMO) yet is to remove the -j? option from the variable.
<deleted-account> commented on 2012-02-02 19:24 (UTC)
(1/1) installing wxlua [######################] 100%
Thank you!
speps commented on 2012-01-23 17:01 (UTC)
@maximand Hi can you try this (and report eventual errors using a pastebin service)? I cannot reproduce here. Thanks
wget -qO- "https://aur.archlinux.org/packages/wx/wxlua/wxlua.tar.gz" | tar zxvf - \
&& cd wxlua && makepkg -s && sudo pacman -U wxlua-2.8.10.0-2-`uname -m`.pkg.tar.xz
<deleted-account> commented on 2012-01-22 14:48 (UTC)
I've got the same error as describe above:
/tmp/yaourt-tmp-mashiks/aur-wxlua/src/wxLua/bk-deps g++ -c -o wxbindcore_dll_wxcore_image.o -I.pch/wxprec_wxbindcore_dll -I../modules/wxbind/setup -I../modules -I./.. -I/usr/lib/lua/5.1//include -DWXMAKINGDLL_WXBINDCORE -fPIC -DPIC -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -O2 ./wxbind/src/wxcore_image.cpp
./wxbind/src/wxcore_image.cpp: In function ‘int wxLua_wxImageHistogram_iterator_op_inc(lua_State*)’:
./wxbind/src/wxcore_image.cpp:2296:54: error: taking address of temporary [-fpermissive]
make[1]: *** [wxbindcore_dll_wxcore_image.o] Error 1
Pinned Comments
alerque commented on 2020-02-27 16:18 (UTC)
PSA: I've started hosting this as a prebuilt package in my repository for those that want to install it using
pacman
without messing around with building from the AUR.alerque commented on 2020-02-11 09:24 (UTC)
If anyone needs Lua 5.2 or 5.1 support let me know and I think we could set this up to build packages for multiple Lua versions. Also if the 2.8 branch (upstream is pretty much abandonware) is really needed we could fork this repo at 11af6c0 and make a wxlua28 package out of it, but I couldn't see what the need would be.