Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
01-24-2021, 03:27 PM
#1
Member
Registered: Jul 2017
Distribution: Slackware64-current
Posts: 85
Rep:
can't make scsh: Segmentation fault
I get segfault error when make scsh. I've installed multilib and upgraded to current, but still error.
Code:
./build/build-usual-image . "./scheme" 'scsh.image' './scshvm' \
'./build/initial.image'
./build/build-usual-image: line 34: 20138 Segmentation fault ./$vm -o ./$vm -i $initial batch <<EOF
,load $srcdir/scheme/env/init-defpackage.scm
((*structure-ref filenames 'set-translation!)
"=scheme48/" "$srcdir/scheme/")
,load =scheme48/more-interfaces.scm =scheme48/sort/interfaces.scm
,load =scheme48/link-packages.scm
,load =scheme48/more-packages.scm
(ensure-loaded command-processor)
(ensure-loaded usual-commands)
,go ((*structure-ref command 'command-processor)
(structure-package usual-commands)
(list "batch"))
(ensure-loaded usual-features)
,structure more-structures more-structures-interface
,in debuginfo (read-debug-info "$srcdir/build/initial.debug")
,keep maps source files
,translate =scheme48/ $lib/
,build ((*structure-ref package-commands-internal
'new-command-processor)
"(made by $USER on $date)"
usual-commands
built-in-structures more-structures) $image
EOF
make: *** [Makefile:317: scsh.image] Error 139
The number after "line 34:" gets incremented by 4 for each new attempt. Had no segfaults with anything else.
02-03-2021, 02:48 PM
#2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289
Unusual.
A Segfault is normally taken fairly seriously, but it was obviouslyin a child process because it exited gracefully enough.
Have you checksummed the archive? re-exploded it? The usual suspects…
02-06-2021, 04:42 AM
#3
Member
Registered: Jul 2017
Distribution: Slackware64-current
Posts: 85
Original Poster
Rep:
http://ftp.scsh.net/pub/scsh/0.6/scsh-0.6.7.tar.gz Used this link, I don't think it's a bad archive, I remember I tried install it before with same result.
02-06-2021, 08:41 AM
#4
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661
Rep:
I would do that.
Edit: After looking at dates I'd say it is probably badly outdated and will not build with up to date toolchain.
Last edited by Emerson; 02-06-2021 at 08:43 AM .
02-09-2021, 08:12 PM
#5
Member
Registered: May 2013
Location: Massachusetts
Distribution: Slackware, NetBSD, Debian, 9front
Posts: 316
Rep:
Any luck?
Wikipedia's scsh entry has a terse teaser suggesting the latest scsh from their git repo built with scheme48 1.9.2 (latest release of that) installed will work in a 64 bit environment. I tried it myself with slackware 14.2 64 bit and it seems okay with light usage. I can't be bothered with multilib, so, sorry, not trying your case exactly.
02-12-2021, 02:57 AM
#6
Member
Registered: Jul 2017
Distribution: Slackware64-current
Posts: 85
Original Poster
Rep:
same
Quote:
nr@Slackware:~/tmp/scsh-0.6.7% make
./build/build-usual-image . "./scheme" 'scsh.image' './scshvm' \
'./build/initial.image'
./build/build-usual-image: line 34: 7224 Segmentation fault ./$vm -o ./$vm -i $initial batch <<EOF
,load $srcdir/scheme/env/init-defpackage.scm
((*structure-ref filenames 'set-translation!)
"=scheme48/" "$srcdir/scheme/")
,load =scheme48/more-interfaces.scm =scheme48/sort/interfaces.scm
,load =scheme48/link-packages.scm
,load =scheme48/more-packages.scm
(ensure-loaded command-processor)
(ensure-loaded usual-commands)
,go ((*structure-ref command 'command-processor)
(structure-package usual-commands)
(list "batch"))
(ensure-loaded usual-features)
,structure more-structures more-structures-interface
,in debuginfo (read-debug-info "$srcdir/build/initial.debug")
,keep maps source files
,translate =scheme48/ $lib/
,build ((*structure-ref package-commands-internal
'new-command-processor)
"(made by $USER on $date)"
usual-commands
built-in-structures more-structures) $image
EOF
make: *** [Makefile:317: scsh.image] Error 139
02-12-2021, 10:52 PM
#7
Member
Registered: May 2013
Location: Massachusetts
Distribution: Slackware, NetBSD, Debian, 9front
Posts: 316
Rep:
My source directory doesn't have a script named build-usual-image...
Code:
20075r1:scsh$ scsh
Welcome to scsh 0.7
Type ,? for help.
> (begin (run (git log -1 --oneline))
(display "build subdir...") (newline)
(run (ls build))
(display "arch in config.log...") (newline)
(run (grep arch)
(< config.log))
(display "latest scheme48 installed...") (newline)
(run (scheme48)))
1144324 (HEAD -> master, origin/master, origin/HEAD) Revert "Add missing use of DESTDIR in Makefile.in (thanks to Santiago Pelufo)."
build subdir...
build-image.sh test.sh
arch in config.log...
/bin/arch = x86_64
/usr/bin/arch -k = unknown
Configured with: ../gcc-5.5.0/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib64/python2.7/site-packages --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=gcc4-compatible --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --disable-install-libiberty --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib64/jvm/jre --with-jvm-root-dir=/usr/lib64/jvm --with-jvm-jar-dir=/usr/lib64/jvm/jvm-exports --with-arch-directory=amd64 --with-antlr-jar=/tmp/slackware64-14.2/gcc/antlr-runtime-3.4.jar --enable-java-awt=gtk --disable-gtktest --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
latest scheme48 installed...
Welcome to Scheme 48 1.9.2 (made by root on 2021-02-06)
See http://s48.org/ for more information.
Please report bugs to scheme-48-bugs@s48.org.
Get more information at http://www.s48.org/.
Type ,? (comma question-mark) for help.
>
Exit Scheme 48 (y/n)? y
1
>
Exit Scheme 48 (y/n)? y
20076r1:scsh$
All times are GMT -5. The time now is 05:52 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News