Code Monkey home page Code Monkey logo

Comments (6)

victorstewart avatar victorstewart commented on May 18, 2024

mine have always been copied to the install directories and authorized, so I've never faced that problem before?

also if you look inside "${prefix}/bin/usp_translator $1.usp;" usp_compile.sh expects just the filename, without the extension.

from ulib.

shivshankardayal avatar shivshankardayal commented on May 18, 2024

I see log of make install and see a problem:

  /bin/bash ../../../../../../libtool   --mode=install /usr/bin/install -c usp_translator '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/usp_translator /usr/local/bin/usp_translator
/usr/bin/install: cannot stat '.libs/usp_translator': No such file or directory
Makefile:432: recipe for target 'install-binPROGRAMS' failed
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory '/home/shiv/Downloads/ULib/src/ulib/net/server/plugin/usp'
Makefile:618: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/home/shiv/Downloads/ULib/src/ulib/net/server/plugin/usp'
Makefile:826: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/shiv/Downloads/ULib/src/ulib/net/server/plugin'
Makefile:559: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
shiv@shiv:~/Downloads/ULib$

Why it would look for usp_translator in .libs. Seems a typo in some configure generation which propagates in makefiles.

from ulib.

shivshankardayal avatar shivshankardayal commented on May 18, 2024

It seems my toolchain is messed up. I have too new gcc. I will rollback and check this again.

from ulib.

victorstewart avatar victorstewart commented on May 18, 2024

i'm using GCC 7.2 and all the latest versions of all the build tools, and they all work fine (just fyi)

from ulib.

shivshankardayal avatar shivshankardayal commented on May 18, 2024

I cleaned up and rebuilt. While running make install I have following:

libtool: warning: relinking 'server_plugin_rpc.la'
libtool: install: (cd /home/shiv/Downloads/ULib/src/ulib/net/server/plugin; /bin/bash "/home/shiv/Downloads/ULib/libtool"  --silent --tag CXX --mode=relink g++ -I/usr/local/include -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-check-new -fno-enforce-eh-specs -Wno-deprecated -Wdelete-non-virtual-dtor -Wodr -Wterminate -Wlto-type-mismatch -Wsubobject-linkage -Wplacement-new -Wvirtual-inheritance -Wnamespaces -module -shared -export-dynamic -avoid-version -L/usr/local/lib -Wl,-O1 -Wl,--as-needed -Wl,-z,now,-O1,--hash-style=gnu,--sort-common -Wl,--as-needed -o server_plugin_rpc.la -rpath /usr/local/libexec mod_rpc.lo ../../../../../src/ulib/libulib.la -luuid -lexpat -lpcre -lssl -lcrypto -lz -Wl,--no-as-needed -lpthread -lnuma -lrt -ldl -lc )
lto1: fatal error: bytecode stream generated with LTO version 5.1 instead of the expected 4.1
compilation terminated.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'server_plugin_rpc.la' with the above command before installing it

Since I do not know what it is I will need to investigate.

from ulib.

shivshankardayal avatar shivshankardayal commented on May 18, 2024

BTW I am running GCC 6.3.0

from ulib.

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.