wingo / tekuti

Server-side blog engine written in Scheme
GNU General Public License v3.0
25 stars 7 forks source link

can't install on debian (with transcript) #1

Open vagn opened 7 years ago

vagn commented 7 years ago

Followed instructions here: https://wingolog.org/projects/tekuti/

the git://gitorious.org/tekuti/tekuti.git link is dead. used git@gitlab.com:wingo/tekuti.git instead.

My attempted install follows. Same result for jessie or stretch.

Sorry if it is trivial issue. I know nothing about guile. Was going to use this project to learn about it.

Hope this helps.

Cheers!

Script started on Mon 27 Mar 2017 09:20:29 AM EDT

root@tekuti:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.0 (stretch) Release: 9.0 Codename: stretch

root@tekuti:~# aptitude install guile-2.0 guile-2.0-dev guile-2.0-doc git \

    dh-autoreconf guile-library

guile-2.0iisialreadydinstallediatothetrequested version (2.0.13+1-4) guile-2.0-dev is already installed at the requested version (2.0.13+1-4) guile-2.0-doc is already installed at the requested version (2.0.13+1-4) git is already installed at the requested version (1:2.11.0-2) dh-autoreconf is already installed at the requested version (13) guile-library is already installed at the requested version (0.2.2-0.2) guile-2.0 is already installed at the requested version (2.0.13+1-4) guile-2.0-dev is already installed at the requested version (2.0.13+1-4) guile-2.0-doc is already installed at the requested version (2.0.13+1-4) git is already installed at the requested version (1:2.11.0-2) dh-autoreconf is already installed at the requested version (13) guile-library is already installed at the requested version (0.2.2-0.2) No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.

root@tekuti:~# git clone git@gitlab.com:wingo/tekuti.git Cloning into 'tekuti'... The authenticity of host 'gitlab.com (52.167.219.168)' can't be established.

Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'gitlab.com,52.167.219.168' (ECDSA) to the list of known hosts. remote: Counting objects: 834, done.K remote: Compressing objects: 100% (236/236),Kdone.K remote:nTotale834:(delta(616),3reused 790 (delta 587)K Receiving objects: 100% (834/834), 439.00 KiB | 0 bytes/s, done. Resolving deltas: 100% (616/616), done. root@tekuti:~# cd tekuti root@tekuti:~/tekuti# autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:6: installing 'build-aux/install-sh' configure.ac:6: installing 'build-aux/missing' Makefile.am: installing './INSTALL' autoreconf: Leaving directory `.' root@tekuti:~/tekuti# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for guile... /usr/bin/guile checking for guile-config... /usr/bin/guile-config checking for guile-tools... /usr/bin/guile-tools ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /usr/bin/guile-tools ;;; compiled /root/.cache/guile/ccache/2.0-LE-8-2.0/usr/bin/guild.go checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating env root@tekuti:~/tekuti# make ./env /usr/bin/guile-tools compile -Wunbound-variable -Warity-mismatch -Wformat -o "tekuti/base64.go" "tekuti/base64.scm" wrote `tekuti/base64.go' ./env /usr/bin/guile-tools compile -Wunbound-variable -Warity-mismatch -Wformat -o "tekuti/boot.go" "tekuti/boot.scm" Backtrace: In ice-9/psyntax.scm: 279: 19 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...] In ice-9/eval.scm: 411: 18 [eval # ()] In ice-9/boot-9.scm: 2954: 17 [define-module* (tekuti boot) #:filename ...] 2929: 16 [resolve-imports ((#) (#) (#) (#))] 2867: 15 [resolve-interface (tekuti git) #:select ...] 2792: 14 [# # ...] 3068: 13 [try-module-autoload (tekuti git) #f] 2404: 12 [save-module-excursion #] 3088: 11 [#] In unknown file: ?: 10 [primitive-load-path "tekuti/git" ...] In ice-9/eval.scm: 505: 9 [# #] In ice-9/psyntax.scm: 1106: 8 [expand-top-sequence ((define-module (tekuti git) #:use-module ...)) () ...] 989: 7 [scan ((define-module (tekuti git) #:use-module ...)) () ...] 279: 6 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...] In ice-9/eval.scm: 411: 5 [eval # ()] In ice-9/boot-9.scm: 2954: 4 [define-module* (tekuti git) #:filename ...] 2929: 3 [resolve-imports ((#) (#) (#) (#) ...)] 2870: 2 [resolve-interface (ice-9 textual-ports) #:select ...] In unknown file: ?: 1 [scm-error misc-error #f ...] In ice-9/boot-9.scm: 109: 0 [# misc-error ...] ice-9/boot-9.scm:109:20: In procedure #: ice-9/boot-9.scm:109:20: no code for module (ice-9 textual-ports) Makefile:709: recipe for target 'tekuti/boot.go' failed make: *** [tekuti/boot.go] Error 1 root@tekuti:~/tekuti# exit Script done on Mon 27 Mar 2017 09:23:55 AM EDT
justin2004 commented 7 years ago

Yeah, Debian Jessie's package "guile-2.0-libs" does not come with "/usr/share/guile/2.0/ice-9/textual-ports.scm" and other source files.

I am going to trying to just build guile from source.

If the Debian package was built before Wed Jun 8 07:40:57 2016 +0200 then that explains why this file is absent. That is whenit was added to the Guile repository in the first place.

ajaysusarla commented 7 years ago

Having the same issue with debian. Running:

buster/sid

This is what I get when I run make:

/env /usr/bin/guile-tools compile -Wunbound-variable -Warity-mismatch -Wformat -o "tekuti/base64.go" "tekuti/base64.scm"
wrote `tekuti/base64.go'
./env /usr/bin/guile-tools compile -Wunbound-variable -Warity-mismatch -Wformat -o "tekuti/boot.go" "tekuti/boot.scm"
Backtrace:
In ice-9/psyntax.scm:
 279: 19 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...]
In ice-9/eval.scm:
 411: 18 [eval # ()]
In ice-9/boot-9.scm:
2954: 17 [define-module* (tekuti boot) #:filename ...]
2929: 16 [resolve-imports ((#) (#) (#) (#))]
2867: 15 [resolve-interface (tekuti git) #:select ...]
2792: 14 [#<procedure 555a38a325e0 at ice-9/boot-9.scm:2780:4 (name #:optional autoload version #:key ensure)> # ...]
3068: 13 [try-module-autoload (tekuti git) #f]
2404: 12 [save-module-excursion #<procedure 555a38f49120 at ice-9/boot-9.scm:3069:17 ()>]
3088: 11 [#<procedure 555a38f49120 at ice-9/boot-9.scm:3069:17 ()>]
In unknown file:
   ?: 10 [primitive-load-path "tekuti/git" ...]
In ice-9/eval.scm:
 505: 9 [#<procedure 555a38981580 at ice-9/eval.scm:499:4 (exp)> #]
In ice-9/psyntax.scm:
1106: 8 [expand-top-sequence ((define-module (tekuti git) #:use-module ...)) () ...]
 989: 7 [scan ((define-module (tekuti git) #:use-module ...)) () ...]
 279: 6 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...]
In ice-9/eval.scm:
 411: 5 [eval # ()]
In ice-9/boot-9.scm:
2954: 4 [define-module* (tekuti git) #:filename ...]
2929: 3 [resolve-imports ((#) (#) (#) (#) ...)]
2870: 2 [resolve-interface (ice-9 textual-ports) #:select ...]
In unknown file:
   ?: 1 [scm-error misc-error #f ...]
In ice-9/boot-9.scm:
 109: 0 [#<procedure 555a38cb2bc0 at ice-9/boot-9.scm:100:6 (thrown-k . args)> misc-error ...]

ice-9/boot-9.scm:109:20: In procedure #<procedure 555a38cb2bc0 at ice-9/boot-9.scm:100:6 (thrown-k . args)>:
ice-9/boot-9.scm:109:20: no code for module (ice-9 textual-ports)
Makefile:709: recipe for target 'tekuti/boot.go' failed
make: *** [tekuti/boot.go] Error 1