Giter Club home page Giter Club logo

Comments (7)

rescrv avatar rescrv commented on July 19, 2024

It sounds like libpo6 did install. Can you verify this by checking for the presence of /usr/local/include/po6/error.h?

If it does exist, try configuring libe with:

./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

I'm not too familiar with RedHat systems, but I believe they don't always look in /usr/local/ by default

from hyperdex.

Liuyanglong avatar Liuyanglong commented on July 19, 2024

O yes!!
Thank you rescrv rescrv rescrv ! it works.
But now have another problem.
I have success install the libe-0.2.5 with code " ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig " .
Then I install hyperdex-0.2b8 with code : " ./configure --enable-python-bindings PKG_CONFIG_PATH=/usr/local/lib/pkgconfig", but have an error , it says:
"
checking for E... no
configure: error: Package requirements (libe >= 0.2) were not met:

No package 'libe' found
"
Thank you for your help~~

from hyperdex.

rescrv avatar rescrv commented on July 19, 2024

Can you copy and paste the output you got when you ran make install for libe?

from hyperdex.

Liuyanglong avatar Liuyanglong commented on July 19, 2024

the output as follow:

Making install in benchmarks
make[1]: Entering directory /root/hyperdex/libe-0.2.5/benchmarks' make[2]: Entering directory/root/hyperdex/libe-0.2.5/benchmarks'
make[2]: Nothing to be done for install-exec-am'. make[2]: Nothing to be done forinstall-data-am'.
make[2]: Leaving directory /root/hyperdex/libe-0.2.5/benchmarks' make[1]: Leaving directory/root/hyperdex/libe-0.2.5/benchmarks'
Making install in include
make[1]: Entering directory /root/hyperdex/libe-0.2.5/include' make[2]: Entering directory/root/hyperdex/libe-0.2.5/include'
make[2]: Nothing to be done for install-exec-am'. test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include" /bin/mkdir -p '/usr/local/include/e' /usr/bin/install -c -m 644 e/atomic.h e/bitfield.h e/bitsteal.h e/buffer.h e/bufferio.h e/convert.h e/envconfig.h e/guard.h e/hazard_ptrs.h e/intrusive_ptr.h e/lockfree_fifo.h e/lockfree_hash_map.h e/lockfree_hash_set.h e/locking_fifo.h e/locking_iterable_fifo.h e/profiler.h e/slice.h e/striped_lock.h e/timer.h e/tuple_compare.h e/worker_barrier.h '/usr/local/include/e' make[2]: Leaving directory/root/hyperdex/libe-0.2.5/include'
make[1]: Leaving directory /root/hyperdex/libe-0.2.5/include' Making install in src make[1]: Entering directory/root/hyperdex/libe-0.2.5/src'
make[2]: Entering directory `/root/hyperdex/libe-0.2.5/src'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c libe.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libe.so.0.0.0 /usr/local/lib/libe.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libe.so.0.0.0 libe.so.0 || { rm -f libe.so.0 && ln -s libe.so.0.0.0 libe.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libe.so.0.0.0 libe.so || { rm -f libe.so && ln -s libe.so.0.0.0 libe.so; }; })
libtool: install: /usr/bin/install -c .libs/libe.lai /usr/local/lib/libe.la
libtool: install: /usr/bin/install -c .libs/libe.a /usr/local/lib/libe.a
libtool: install: chmod 644 /usr/local/lib/libe.a
libtool: install: ranlib /usr/local/lib/libe.a

libtool: finish: PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/liuyanglong/bin:/sbin" ldconfig -n /usr/local/lib

Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:

  • add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
  • add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
  • use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  • have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for

more information, such as the ld(1) and ld.so(8) manual pages.

make[2]: Nothing to be done for install-data-am'. make[2]: Leaving directory/root/hyperdex/libe-0.2.5/src'
make[1]: Leaving directory /root/hyperdex/libe-0.2.5/src' Making install in test make[1]: Entering directory/root/hyperdex/libe-0.2.5/test'
make[2]: Entering directory /root/hyperdex/libe-0.2.5/test' make[2]: Nothing to be done forinstall-exec-am'.
make[2]: Nothing to be done for install-data-am'. make[2]: Leaving directory/root/hyperdex/libe-0.2.5/test'
make[1]: Leaving directory /root/hyperdex/libe-0.2.5/test' make[1]: Entering directory/root/hyperdex/libe-0.2.5'
make[2]: Entering directory /root/hyperdex/libe-0.2.5' make[2]: Nothing to be done forinstall-exec-am'.
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 libe.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory /root/hyperdex/libe-0.2.5' make[1]: Leaving directory/root/hyperdex/libe-0.2.5'

from hyperdex.

Liuyanglong avatar Liuyanglong commented on July 19, 2024

I have resolved this problem by the command : "./configure --enable-python-bindings PKG_CONFIG_PATH=/usr/local/lib/pkgconfig E_LIBS=/usr/local/include/e
"
but it show that "
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"

ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.

See `config.log' for more details

"

I have installed Python. I have checked with the order:"python".

Now I am looking for the solution.

from hyperdex.

rescrv avatar rescrv commented on July 19, 2024

Would you please attach /usr/local/lib/pkgconfig/libe.pc so that I can fix this issue. It should work with PKG_CONFIG_PATH without needing E_LIBS.

As for the error, you'll need to install the development version of the Python package. For your distribution, it'd probably be python-devel.

from hyperdex.

Liuyanglong avatar Liuyanglong commented on July 19, 2024

Hi,@rescrv, I need your help. Thank you.
I change system to Centos x64,
I success configuare the hyperdex-0.2b8 without error . But When I 'make', the error happen.

"
make all-am
make[1]: Entering directory /usr/home/yanglong1/hyperdex/hyperdex-0.2b8'
CXX hyperspacehashing/libhyperspacehashing_la-cfloat.lo
hyperspacehashing/cfloat.cc: In function ‘uint64_t hyperspacehashing::cfloat(uint64_t, unsigned int)’:
hyperspacehashing/cfloat.cc:61: warning: converting to ‘uint64_t’ from ‘double’
CXX hyperspacehashing/libhyperspacehashing_la-hashes.lo
hyperspacehashing/hashes.cc: In function ‘uint64_t hyperspacehashing::lendian(const e::slice&)’:
hyperspacehashing/hashes.cc:56: error: ‘le64toh’ was not declared in this scope
make[1]: *** [hyperspacehashing/libhyperspacehashing_la-hashes.lo] Error 1
make[1]: Leaving directory/usr/home/yanglong1/hyperdex/hyperdex-0.2b8'
make: *** [all] Error 2
"

Need Help.
Thank You.

from hyperdex.

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.