Comments (6)
The error message indicates $DESTDIR was messed up, although I can't recall anything I recently changed that affects it.
Could you give me the options you passed to configure? Find config.status in Gauche TOP_BUILDDIR and run it like ./config.status --config
.
from gauche.
that gives:
'--prefix=/usr' '--enable-multibyte=utf-8' '--enable-threads=pthreads' 'CC=gcc' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'
from gauche.
Hmm, that doesn't look like suspicious. My guess is that somehow DESTDIR is unexpectedly set during the build (which should be set only when "make install").
Could you try this in Makefile.in and build from configure?
diff --git a/src/Makefile.in b/src/Makefile.in
index 8dd52e1..df5555a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -81,7 +81,7 @@ LINK = TARGETLIB=`pwd` $(CCLD) $(CFLAGS) $(RPATH_TMP) -L. $(LDFLAGS)
RELINK = TARGETLIB=$(TARGETLIB) $(CCLD) $(CFLAGS) $(RPATH_REAL) -L. $(LDFLAGS)
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
-POSTBUILD = TARGETLIB=`pwd` $(MAKEVERSLINK) $(LIBGAUCHE).$(SOEXT)
+POSTBUILD = TARGETLIB=`pwd` DESTDIR= $(MAKEVERSLINK) $(LIBGAUCHE).$(SOEXT)
POSTINSTALL = TARGETLIB="$(TARGETLIB)" DESTDIR="$(DESTDIR)" $(MAKEVERSLINK) $(LIBGAUCHE).$(SOEXT)
PRECOMP = $(srcdir)/precomp -D LIBGAUCHE_BODY
from gauche.
Indeed I set DESTDIR explicitely in the make-step. I removed it and tried
again, but the error remains. I will try your patch as soon as I am back on
my linux box.
-----Original-Nachricht-----
Betreff: Re: [shirok/Gauche] Build error (#202)
Datum: 2016-04-13T08:31:50+0200
Von: "Shiro Kawai" [email protected]
An: "shirok/Gauche" [email protected]
Hmm, that doesn't look like suspicious. My guess is that somehow DESTDIR is
unexpectedly set during the build (which should be set only when "make
install").
Could you try this in Makefile.in and build from configure?
diff --git a/src/Makefile.in b/src/Makefile.in index 8dd52e1..df5555a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -81,7 +81,7 @@ LINK = TARGETLIB=pwd
pwd
pwd
DESTDIR=
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#202 (comment)
from gauche.
Your patch works. Thanks!
from gauche.
Good!
from gauche.
Related Issues (20)
- `#<undef> is used in boolean context` when interpolating module name in REPL
- configure - Program text - Stree or list of lines?
- Return value of `process-output->string` when the subprocess exits abnormally
- configure - Wrong substitution of `@srcdir@` HOT 1
- shell-compatible `case`
- Initialization fails if descriptive type instance is precompiled
- cf-output needs better escaping HOT 3
- Tiny issue: gosh precomp usage HOT 1
- Printing content of hashtables/treemaps
- Revise uuid API
- Better genconfig
- write-uvector doesn't understand 'big endianness HOT 2
- Detangle `ScmEscapePoint`
- generic ref for <box> HOT 2
- gauche.collection breaks repl completion? HOT 3
- Rewrite `let-args` to object-centric model
- Efficient parameterizaton of ScmNumberFormat through ScmWriteControls
- Hide sensitive info from `-V` output HOT 3
- Security implication of `COMPILE_R7RS` HOT 3
- ffitest error on Fedora 40
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gauche.