Comments (6)
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.
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.
It seems my toolchain is messed up. I have too new gcc. I will rollback and check this again.
from ulib.
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.
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.
BTW I am running GCC 6.3.0
from ulib.
Related Issues (20)
- Multiple ab -n 10000 -c 1000 test for calc.usp with error HOT 1
- cookie.usp error HOT 1
- userver_tcp should run as root? any suggestion on fresh install for userver_tcp setup running as www-data user? HOT 2
- Hi Stefan, would like to know if Ulib supports regex rout parsing ? Thanks HOT 8
- Can we have a reverse proxy example using Ulib? HOT 2
- For real world practical usage's docker container HOT 4
- Benchmarking "problem" HOT 1
- strings.usp error with two browsers HOT 1
- Possible to do a reverse proxy demo? HOT 2
- Exploring other framework to complement ULib
- Binding UString with sqlite3_bind_text HOT 1
- CMake build support!!
- http3 in roadmap? HOT 2
- How to compile on MacOS 10.14? HOT 2
- userver_tcp segfaults on Amazon Linux 2 HOT 1
- Regular USP files don't work when --enable-captive-portal is set HOT 3
- What do the values passed to the UMEMPOOL environment variable mean HOT 2
- NodeJS / Deno Binding HOT 1
- LiteSpeed Web ADC alternative, just QUIC + loadbalancing proxy based on ip hash HOT 1
- extensive documentation? HOT 1
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 ulib.