LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-16-2023, 06:27 PM   #2686
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 562

Rep: Reputation: 321Reputation: 321Reputation: 321Reputation: 321

Quote:
Originally Posted by volkerdi View Post
Try it again with today's -current.
Is this the one that you recommend be tried ?

https://slackware.nl/slackware/slackware64-current-iso/

Or perhaps one of these ?

https://mirrors.slackware.com/slackw...xe-installers/

Last edited by glennmcc; 08-16-2023 at 06:29 PM.
 
Old 08-18-2023, 12:33 AM   #2687
y0g1
LQ Newbie
 
Registered: Mar 2010
Posts: 29

Rep: Reputation: 16
Thumbs up

Quote:
Originally Posted by volkerdi View Post
Try it again with today's -current.
It works,
thank you for help
 
2 members found this post helpful.
Old 08-19-2023, 05:10 AM   #2688
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,418

Rep: Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158
wget

Code:
CFLAGS="$SLKCFLAGS" \
./configure  \
  --prefix=/usr \
  --sysconfdir=/etc \
  --mandir=/usr/man \
  --infodir=/usr/info \
  --docdir=/usr/doc/wget-$VERSION \
  --with-ssl=openssl \
  --build=${ARCH}-slackware-linux || exit 1

make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
Shouldn't we use (same as wget2)
Code:
  --with-ssl=gnutls \
?
 
Old 08-19-2023, 08:05 AM   #2689
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,220

Rep: Reputation: 299Reputation: 299Reputation: 299
vala-0.56.12
https://download.gnome.org/sources/v...0.56.12.tar.xz
 
Old 08-19-2023, 03:11 PM   #2690
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,542

Rep: Reputation: 8543Reputation: 8543Reputation: 8543Reputation: 8543Reputation: 8543Reputation: 8543Reputation: 8543Reputation: 8543Reputation: 8543Reputation: 8543Reputation: 8543
Quote:
Originally Posted by marav View Post
Shouldn't we use (same as wget2)
Code:
  --with-ssl=gnutls \
?
Unless something is currently broken using openssl, I'd say not.
 
1 members found this post helpful.
Old 08-19-2023, 04:13 PM   #2691
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,124

Rep: Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198
thanks a lot, Pat, for the lua addition!

geeqie (autodetected, needs a patch), httpd (autodetected), lxc (autodetected), nmap (--with-liblua=/usr, if the system one is preferred over the internal), vim (--enable-luainterp=dynamic) could also benefit from it.

Last edited by ponce; 08-19-2023 at 04:23 PM.
 
4 members found this post helpful.
Old 08-20-2023, 12:56 PM   #2692
perrin4869
Member
 
Registered: Dec 2014
Location: Japan
Distribution: slackware64-current
Posts: 60

Rep: Reputation: Disabled
I tried running luarocks with the new lua in current, but I get an error:

Your version of Lua does not support io.popen,
which is required by LuaRocks. Please check your Lua installation.

I found an issue that seemed relevant:
https://github.com/luarocks/luarocks/issues/348

Seems like you need to build lua using -DLUA_USE_POSIX?
 
1 members found this post helpful.
Old 08-20-2023, 01:31 PM   #2693
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by perrin4869 View Post
I tried running luarocks with the new lua in current, but I get an error:

Your version of Lua does not support io.popen,
which is required by LuaRocks. Please check your Lua installation.
LuaRocks
I found an issue that seemed relevant:
https://github.com/luarocks/luarocks/issues/348

Seems like you need to build lua using -DLUA_USE_POSIX?
LuaRocks on SBo is too old , not slackware problem... archlinux have same lua version as slackware -current and luarocks build fine cause is branch 3.x not 2.4 like SBo.
 
Old 08-20-2023, 01:42 PM   #2694
perrin4869
Member
 
Registered: Dec 2014
Location: Japan
Distribution: slackware64-current
Posts: 60

Rep: Reputation: Disabled
Quote:
Originally Posted by USUARIONUEVO View Post
LuaRocks on SBo is too old , not slackware problem... archlinux have same lua version as slackware -current and luarocks build fine cause is branch 3.x not 2.4 like SBo.
I'm using conraid's build, luarocks-3.9.2-x86_64-2cf, which is built against the new lua in current, and it builds perfectly fine, but fails at runtime
 
1 members found this post helpful.
Old 08-20-2023, 01:54 PM   #2695
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by perrin4869 View Post
I'm using conraid's build, luarocks-3.9.2-x86_64-2cf, which is built against the new lua in current, and it builds perfectly fine, but fails at runtime
rare cause archlinux use same versions , lua + luarocks , and works well.

I try see the builds, but no patches on archlinux , then i dont know why fails on slackware.

where can see that luarocks slackbuild script ?

apparently an option to say what lua version is needed ...

Quote:
--lua-version=5.4


OK ,I found, he uses the flag correctly ...

https://github.com/conraid/SlackBuil...cks.SlackBuild

Then no idea what happen ...sorry

Last edited by USUARIONUEVO; 08-20-2023 at 02:00 PM.
 
Old 08-20-2023, 01:58 PM   #2696
perrin4869
Member
 
Registered: Dec 2014
Location: Japan
Distribution: slackware64-current
Posts: 60

Rep: Reputation: Disabled
I just tried conraid's old lua.SlackBuild, and luarocks works without any issues with a lua built with it: https://github.com/conraid/SlackBuil...lua.SlackBuild

I didn't track down exactly which option fixes the issue though ^^;;

Last edited by perrin4869; 08-20-2023 at 02:03 PM.
 
Old 08-20-2023, 02:15 PM   #2697
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by perrin4869 View Post
I just tried conraid's old lua.SlackBuild, and luarocks works without any issues with a lua built with it: https://github.com/conraid/SlackBuil...lua.SlackBuild

I didn't track down exactly which option fixes the issue though ^^;;
Then need to campare conrad script build and slackware script to find what different option do the trick ...

Probably lua goes to be rebuild.
 
Old 08-20-2023, 02:25 PM   #2698
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 463

Rep: Reputation: 237Reputation: 237Reputation: 237
Talking

Quote:
Originally Posted by perrin4869 View Post
I just tried conraid's old lua.SlackBuild, and luarocks works without any issues with a lua built with it: https://github.com/conraid/SlackBuil...lua.SlackBuild

I didn't track down exactly which option fixes the issue though ^^;;
make \
MYCFLAGS="$SLKCFLAGS -DLUA_COMPAT_5_3 -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" \
MYLDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
MYLIBS="-ltermcap" \
linux

This is what I found differently in the conraid script vs Pat's script.
 
Old 08-20-2023, 02:33 PM   #2699
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by reddog83 View Post
make \
MYCFLAGS="$SLKCFLAGS -DLUA_COMPAT_5_3 -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" \
MYLDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
MYLIBS="-ltermcap" \
linux

This is what I found differently in the conraid script vs Pat's script.
Probably enable the retro compat versions of lua ...


Quote:
-DLUA_COMPAT_5_3 -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1
 
1 members found this post helpful.
Old 08-20-2023, 02:36 PM   #2700
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 463

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by USUARIONUEVO View Post
Probably enable the retro compat versions of lua ...

I know in my lua script I have this in there.
But I haven't enabled retro compat versions either.

Quote:
eval $(sed -ne '/^\(V\|R\)= /s, ,,p' Makefile)

sed -i \
-e '/^INSTALL_TOP= /s,\(/usr\).*,\$(DESTDIR)\1,' \
-e '/^INSTALL_INC= /s,include,&/lua\$V,' \
-e '/^INSTALL_LIB= /s,lib,&'"${LIBDIRSUFFIX}"',' \
-e '/^INSTALL_CMOD= /s,lib,&'"${LIBDIRSUFFIX}"',' \
-e '/^TO_BIN= /s,luac\?,&\$V,g' \
-e '/^TO_LIB= /s,liblua,&\$V,' \
Makefile

sed -i \
-e '/^CFLAGS= /s,-O2,'"$SLKCFLAGS"',' \
-e '/-DLUA_USE_LINUX.*-Wl,-E -ldl -lreadline/s|-lreadline|& -lncurses|' \
-e '/^LUA_A=/s,liblua,&'"$V"',' \
-e '/^LUA_T=/s,lua,&'"$V"',' \
-e '/^LUAC_T=/s,luac,&'"$V"',' \
src/Makefile

sed -i \
-e '/^#define LUA_ROOT/s,".*,"/usr/",' \
-e '/^#define LUA_CDIR/s,"lib,&'"${LIBDIRSUFFIX}"',' \
src/luaconf.h
 
  


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
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

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