Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am trying to install plugger-5.1.3 to stream media with firefox and when i run the configuartion script it cant find the location of the X11 library
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/include/X11/Xaw, headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for atexit in -ldl... yes
configure: error: Unable to find X11 libraries
root@brian:/home/brian/plugger-5.1.3# ./configure --x-libraries=/etc/X11
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /etc/X11, headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for atexit in -ldl... yes
configure: error: Unable to find X11 libraries
i tried a locate X11 | less and looked for possibities to append to the configure command but nothing worked.
configure:1235: checking for /usr/X11R6/lib-gcc
configure:1264: result: no
configure:1273: checking for gcc
configure:1289: found /usr/bin/gcc
configure:1299: result: gcc
configure:1543: checking for C compiler version
configure:1546: gcc --version </dev/null >&5
gcc (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1549: $? = 0
configure:1551: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.5/specs
Configured with: ../gcc-3.4.5/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.4.5
configure:1554: $? = 0
configure:1556: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1559: $? = 1
configure:1583: checking for C compiler default output
configure:1586: gcc conftest.c >&5
configure:1589: $? = 0
configure:1635: result: a.out
configure:1640: checking whether the C compiler works
configure:1646: ./a.out
configure:1649: $? = 0
configure:1666: result: yes
configure:1673: checking whether we are cross compiling
configure:1675: result: no
configure:1678: checking for suffix of executables
configure:1680: gcc -o conftest conftest.c >&5
configure:1683: $? = 0
configure:1708: result:
configure:1714: checking for suffix of object files
configure:1736: gcc -c conftest.c >&5
configure:1739: $? = 0
configure:1761: result: o
configure:1765: checking whether we are using the GNU C compiler
configure:1790: gcc -c conftest.c >&5
configure:1793: $? = 0
configure:1796: test -s conftest.o
configure:1799: $? = 0
configure:1812: result: yes
configure:1818: checking whether gcc accepts -g
configure:1840: gcc -c -g conftest.c >&5
configure:1843: $? = 0
configure:1846: test -s conftest.o
configure:1849: $? = 0
configure:1860: result: yes
configure:1877: checking for gcc option to accept ANSI C
configure:1938: gcc -c -g -O2 conftest.c >&5
configure:1941: $? = 0
configure:1944: test -s conftest.o
configure:1947: $? = 0
configure:1965: result: none needed
configure:1983: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:1986: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2132: checking for a BSD-compatible install
configure:2186: result: /usr/bin/ginstall -c
configure:2197: checking whether make sets $(MAKE)
configure:2217: result: yes
configure:2233: checking how to run the C preprocessor
configure:2269: gcc -E conftest.c
configure:2275: $? = 0
configure:2307: gcc -E conftest.c
configure:2306:28: ac_nonexistent.h: No such file or directory
configure:2313: $? = 1
configure: failed program was:
| #line 2298 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2351: result: gcc -E
configure:2376: gcc -E conftest.c
configure:2382: $? = 0
configure:2414: gcc -E conftest.c
configure:2413:28: ac_nonexistent.h: No such file or directory
configure:2420: $? = 1
configure: failed program was:
| #line 2405 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2463: checking for X
configure:2569: gcc -E conftest.c
configure:2575: $? = 0
configure:2625: gcc -o conftest -g -O2 conftest.c -lXt >&5
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure:2628: $? = 1
configure: failed program was:
| #line 2608 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <X11/Intrinsic.h>
| int
| main ()
| {
| XtMalloc (0)
| ;
| return 0;
| }
configure:2683: result: libraries , headers
configure:2836: gcc -o conftest -g -O2 conftest.c -lX11 >&5
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
configure:2839: $? = 1
configure: failed program was:
| #line 2812 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char XOpenDisplay ();
| int
| main ()
| {
| XOpenDisplay ();
| ;
| return 0;
| }
configure:2852: checking for dnet_ntoa in -ldnet
configure:2883: gcc -o conftest -g -O2 conftest.c -ldnet -lX11 >&5
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure:2886: $? = 1
configure: failed program was:
| #line 2859 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char dnet_ntoa ();
| int
| main ()
| {
| dnet_ntoa ();
| ;
| return 0;
| }
configure:2904: result: no
configure:2911: checking for dnet_ntoa in -ldnet_stub
configure:2942: gcc -o conftest -g -O2 conftest.c -ldnet_stub -lX11 >&5
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure:2945: $? = 1
configure: failed program was:
| #line 2918 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char dnet_ntoa ();
| int
| main ()
| {
| dnet_ntoa ();
| ;
| return 0;
| }
configure:2963: result: no
configure:2982: checking for gethostbyname
configure:3032: gcc -o conftest -g -O2 conftest.c >&5
configure:3035: $? = 0
configure:3038: test -s conftest
configure:3041: $? = 0
configure:3052: result: yes
configure:3183: checking for connect
configure:3233: gcc -o conftest -g -O2 conftest.c >&5
configure:3236: $? = 0
configure:3239: test -s conftest
configure:3242: $? = 0
configure:3253: result: yes
configure:3318: checking for remove
configure:3368: gcc -o conftest -g -O2 conftest.c >&5
configure:3371: $? = 0
configure:3374: test -s conftest
configure:3377: $? = 0
configure:3388: result: yes
configure:3453: checking for shmat
configure:3503: gcc -o conftest -g -O2 conftest.c >&5
configure:3506: $? = 0
configure:3509: test -s conftest
configure:3512: $? = 0
configure:3523: result: yes
configure:3597: checking for IceConnectionNumber in -lICE
configure:3628: gcc -o conftest -g -O2 conftest.c -lICE >&5
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: cannot find -lICE
collect2: ld returned 1 exit status
configure:3631: $? = 1
configure: failed program was:
| #line 3604 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char IceConnectionNumber ();
| int
| main ()
| {
| IceConnectionNumber ();
| ;
| return 0;
| }
configure:3649: result: no
configure:3734: checking for atexit in -ldl
configure:3765: gcc -o conftest -g -O2 conftest.c -ldl >&5
configure:3768: $? = 0
configure:3771: test -s conftest
configure:3774: $? = 0
configure:3786: result: yes
configure:3803: error: Unable to find X11 libraries
The log doesn't indicate exactly what it is looking for that it didn't find. You would need to look at the configure script at about line 3803 to see what is going on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.