Git Product home page Git Product logo

Comments (6)

shirok avatar shirok commented on July 21, 2024

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.

stefanhusmann avatar stefanhusmann commented on July 21, 2024

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.

shirok avatar shirok commented on July 21, 2024

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.

stefanhusmann avatar stefanhusmann commented on July 21, 2024

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 $(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


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#202 (comment)



from gauche.

stefanhusmann avatar stefanhusmann commented on July 21, 2024

Your patch works. Thanks!

from gauche.

shirok avatar shirok commented on July 21, 2024

Good!

from gauche.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.