Closed dr0i closed 7 years ago
It looks like you don't have the libxmu library installed.
Thx for answering! But i have it installed:
$ apt search libxmu
i libxmu-dev
p libxmu-dev:i386
i A libxmu-headers
v libxmu-headers:i386
i libxmu6
i libxmu6:i386
p libxmu6-dbg
p libxmu6-dbg:i386
p libxmuu-dev
p libxmuu-dev:i386
i libxmuu1
p libxmuu1:i386
p libxmuu1-dbg
p libxmuu1-dbg:i386
Can you post your config.log
?
configure:5835: checking for XmuInternAtom in -lXmu configure:5860: gcc -o conftest -g -O2 conftest.c -lXmu -lX11 -lcrypto >&5 /usr/bin/ld: cannot find -lXmu
Can you trying configuring with ./configure X_LIBS=/path/to/your/x11/libs
I did:
$ ./configure X_LIBS=/usr/lib/X11
checking for a BSD-compatible install... /usr/bin/install -c
[...]
checking for sys/mkdev.h... (cached) no
checking for sys/sysmacros.h... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for socklen_t... yes
checking POSIX termios... no
configure: error: "POSIX termios operations are required"
Then I did $ ./configure; make; sudo make install
- and it worked :+1: !
Is there really a connection between declaring X_LIBS as I did or not (I would assume not, since I reconfigured without extra declaring X_LIBS and then installed it)? If there is no connection it must have something to do with my yesterday's installation of password-store
, I assume.
The way we configure it on FreeBSD is:
./configure --with-x --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local
I'll assume you found your missing headers and libs. There were several missing bits in the config.log.
$ make check g++ -Wall -o pwsafe pwsafe.o -lX11 -lcrypto pwsafe.o: In function
emit(secstring const&, char const*, secstring const&)': pwsafe.cpp:(.text+0x2d2f): undefined reference to
_XA_CLIPBOARD' pwsafe.cpp:(.text+0x2d41): undefined reference toXmuInternAtom' pwsafe.cpp:(.text+0x3565): undefined reference to
_XA_TARGETS' pwsafe.cpp:(.text+0x3577): undefined reference toXmuInternAtom' pwsafe.cpp:(.text+0x35c3): undefined reference to
_XA_TARGETS' pwsafe.cpp:(.text+0x35d5): undefined reference toXmuInternAtom' pwsafe.cpp:(.text+0x35e3): undefined reference to
_XA_TIMESTAMP' pwsafe.cpp:(.text+0x35f5): undefined reference toXmuInternAtom' pwsafe.cpp:(.text+0x3603): undefined reference to
_XA_TEXT' pwsafe.cpp:(.text+0x3615): undefined reference toXmuInternAtom' pwsafe.cpp:(.text+0x362a): undefined reference to
_XA_TARGETS' pwsafe.cpp:(.text+0x363c): undefined reference toXmuInternAtom' pwsafe.cpp:(.text+0x368b): undefined reference to
_XA_TIMESTAMP' pwsafe.cpp:(.text+0x369d): undefined reference toXmuInternAtom' pwsafe.cpp:(.text+0x36ae): undefined reference to
_XA_TIMESTAMP' pwsafe.cpp:(.text+0x36c0): undefined reference toXmuInternAtom' pwsafe.cpp:(.text+0x3710): undefined reference to
_XA_TEXT' pwsafe.cpp:(.text+0x3722): undefined reference toXmuInternAtom' pwsafe.cpp:(.text+0x3872): undefined reference to
XmuClientWindow' collect2: error: ld returned 1 exit status Makefile:624: recipe for target 'pwsafe' failed make: *** [pwsafe] Error 1