Configure error configure could not find required x11 libraries aborting

Hey there, I'm really new to Linux and I'm actually pretty lost when it comes to installing things and getting things to work... I'm using Ubuntu 10.04 and would like to install FLTK... When I type 'make' in the terminal i get the error: "configure: error: Configure could not find required X11 libraries ./configure: line 11558: exit: aborting.: numeric argument required ./configure: line 11558: exit: aborting.: numeric argument required make: *** Error 255" I really have no idea what
  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • New to Ubuntu
  • [ubuntu] Help with installing FLTK? [Configure could not find required X11 libraries]

  1. Help with installing FLTK? [Configure could not find required X11 libraries]

    Hey there, I’m really new to Linux and I’m actually pretty lost when it comes to installing things and getting things to work… I’m using Ubuntu 10.04 and would like to install FLTK… When I type ‘make’ in the terminal i get the error:

    «configure: error: Configure could not find required X11 libraries
    ./configure: line 11558: exit: aborting.: numeric argument required
    ./configure: line 11558: exit: aborting.: numeric argument required
    make: *** [makeinclude] Error 255″

    I really have no idea what to do to get it working… Could somebody please help me?
    Thank you in advance


  2. Re: Help with installing FLTK? [Configure could not find required X11 libraries]

    FLTK is in the ubuntu repositories, unless you have reasons not to, you can install it (I assume you mean the development libraries) with:

    Code:

    sudo apt-get install libfltk1.3-dev

    If you do have a reason (i.e. you’re a FLTK developer), you probably want one of the X libraries, I think libx11-dev:

    Code:

    sudo apt-get install libx11-dev

    If you need more help, give us more information.


Tags for this Thread

Bookmarks

Bookmarks


Posting Permissions

andreas122

Posts: 12
Joined: 2010-10-05 13:07

Cant Install fltk-1.3.0 !

#1

Post

by andreas122 » 2011-08-15 10:31

Cant install libfltk1.3.

apt-get install libfltk1.3

Code: Select all

root@debian:/# apt-get install libfltk1.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
E: Broken packages
root@debian:/# 

I Have debian squeeze but i have install same programs from wheazy and sid reposity.

i try to install fltk 1.3 from wheazy, sid and experimental reposity but none of the work.
i want to try a program that use the fltk1.3 (dillo3) and cant becouse i cant install fltk 1.3!

I try to compile the fltk but this dosent work, the last text in the terminal was:

Code: Select all

configure: error: Configure could not find required X11 libraries
./configure: line 11558: exit: aborting.: numeric argument required
./configure: line 11558: exit: aborting.: numeric argument required
make: *** [makeinclude] Error 255

How i cant install fltk-1.3.0


secipolla

Posts: 1127
Joined: 2010-06-21 14:20

Re: Cant Install fltk-1.3.0 !

#2

Post

by secipolla » 2011-08-15 11:33

If you upgraded a basic package like libc6 from wheezy, my guess is that you’ll have a lot of trouble with squeeze packages. Maybe you should simply change to wheezy then.
Of course it may be something else.

BTW- Dillo3 is in experimental (but then you may get very far from squeeze). There’s a backport guide (see the link at {google:baseURL}search?{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}sourceid=chrome&ie={inputEncoding}&q=%s ). Don’t know if it applies here.


andreas122

Posts: 12
Joined: 2010-10-05 13:07

Re: Cant Install fltk-1.3.0 !

#3

Post

by andreas122 » 2011-08-15 14:43

the dillo 3 in experimental it depents on fltk1.3, but i cant install fltk1.3 as i said before.

the debian have same error with the packages. i cant know what it is.
i dont want to update to sid.

meaby if i try to compile it?
but how? becouse the compile of fltk1.3 fails.

dillo3 is depent on fltk1.3 which is depent on gcc which is depent on perl.
Cant install perl i think the problem is that i cant install perl.

Code: Select all

19 upgraded, 3 newly installed, 0 to remove and 460 not upgraded.
Need to get 0 B/15.1 MB of archives.
After this operation, 12.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
E: Could not perform immediate configuration on 'perl'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

Any solutions? why debian is do this?


User avatar

stevepusser

Posts: 12651
Joined: 2009-10-06 05:53
Has thanked: 21 times
Been thanked: 33 times

Re: Cant Install fltk-1.3.0 !

#4

Post

by stevepusser » 2011-08-15 16:01

You get that build error because ou are missing some build-depends. The error says you need to install xorg-dev. Since you have a mixed system, this may be very difficult. That’s why it’s called Sid, Sid was the kid in Toy Story that broke everything.

With careful use of aptitude, it should be possible to downgrade everything back to Squeeze libraries, but then libfltk may still not be backportable….I’ll look at it tonight.

MX Linux packager and developer


andreas122

Posts: 12
Joined: 2010-10-05 13:07

Re: Cant Install fltk-1.3.0 !

#5

Post

by andreas122 » 2011-08-15 16:25

When i try to install xorg-dev from squeeze repo i get:
The following packages have unmet dependencies:
xorg-dev : Depends: libxss-dev but it is not going to be installed
Depends: xserver-xorg-dev but it is not going to be installed
E: Broken packages

When i try to install xorg-dev from sid repo i get:
The following packages have unmet dependencies:
libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
E: Broken packages

I Thinκ perl packages have the problem, i still cant installed or compile it.




User avatar

stevepusser

Posts: 12651
Joined: 2009-10-06 05:53
Has thanked: 21 times
Been thanked: 33 times

Re: Cant Install fltk-1.3.0 !

#8

Post

by stevepusser » 2011-08-17 02:59

Try using aptitude to install the missing dependencies. like

If you want the Squeeze version, disable all but the Squeeze repos and reload first. Aptitude will try many solutions, which will involve downgrading back to the Squeeze libraries and losing all your Sid versions. Don’t choose the first solution, or even the fifteenth, if it’s not right. This is if you want to head back to Stable…

MX Linux packager and developer




andreas122

Posts: 12
Joined: 2010-10-05 13:07

Re: Cant Install fltk-1.3.0 !

#11

Post

by andreas122 » 2011-08-17 21:57

stevepusser wrote:Try using aptitude to install the missing dependencies. like

If you want the Squeeze version, disable all but the Squeeze repos and reload first. Aptitude will try many solutions, which will involve downgrading back to the Squeeze libraries and losing all your Sid versions. Don’t choose the first solution, or even the fifteenth, if it’s not right. This is if you want to head back to Stable…

i have install the missing dependencies as you said from sid reposity but not all of them ar installed.
but when i am going to install xorg-dev (apt-get install xorg-dev)
the same error happens:
The following packages have unmet dependencies:
libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
E: Broken packages

After all this, i have add only the stable repo, now how i can update the hole OS to clean stable?


On 18.04.2019 20:29 Gonzalo Garramuño wrote:
El 18/4/19 a las 14:40, billtsekev@gmail.com escribió:
Hello I get the above error when trying to configure.

Sorry, I did not see your title.  Are you sure you are not getting
anything else?

You should also download the following libraries:

-lXext -lpthread -lXinerama -lXfixes -lXcursor -lXft -lXrender

FWIW, this is my Ubuntu package list that usually works for me (note:
run ‘sudo apt install <package> … <package>’ for each of these
packages — you can combine multiple package names on the command line):

Try this one first:

build-essential

The following packages are mandatory or at least very useful to get FLTK
built completely:

libx11-dev

libxcursor-dev

libxft-dev

libfontconfig-dev


Optional packages for OpenGL:

freeglut3-dev

libglew-dev


Optional for international text (fonts):

libpango1.0-dev


Optional sound and multi-monitor support:

libasound2-dev
libxinerama-dev


Entirely optional, use only if you want to use Cairo drawing (skip if
you don’t know what this is):

libcairo2-dev

HTH

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[ Direct Link to Message ]

I can’t find gammapage on the repos either, but it occurs to me that by searching for «gamma» in Synaptic will drastically reduce the number of hits, resulting in a better search. If you have an nVidia card, the best bet is probably to use nvidia-settings. There’s kgamma for KDE, but might work in Gnome too, I don’t really know. Looking at the entries, there is finally x11-xserver-utils, which includes xgamma for querying your gamma settings, and you might be able to use xset to set pixel colours, but they’re CLI tools only and I’m not familiar enough with them to really know how to go about this.

Good luck with it.

[update:] I’ve located Slackware .tgzs at this location, but they’re old (Slackware v 10 — they’re now at 13), and therefore might not be workable even if you do manage to convert it to a Debian package because of outdated dependencies. Still, might be worth a shot provided you’re running in 32 bit (there aren’t packages for 64).

[update2:] On a whim I looked into the Slackware version and it just contains a single binary. It complained about the wrong version of a library (wants libstdc++.so.5) so I symlinked that, but now it complains

Code: Select all

./monica: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./monica)

so I’m wondering if there is a way around this. I checked backports and normal repos for a compatibility library but didn’t find anything. It might be that monica simply won’t work with the modern libraries, in which case the source has to be modified, I guess, and I’m assuming that the original developer isn’t working on it any more, and we can’t obtain the source because his site’s down. Sigh…

Any suggestions for a workaround on a postcard. I got as far as my limited skills could go.

[update3:] Every time I submit I think of something else.

As a last ditch resort we could try compiling an earlier version of gcc and then installing that not to the filesystem but to whichever /home directory you have the monica binary. If I understand my paths, the dynamic loader will look in the program’s working directory (or can be instructed to with ldconfig). This approach should also, hopefully, avoid conflicting with the version of gcc that you need to make the rest of the OS and apps work (having two different versions of gcc actually installed simultaneously is a really bad idea, I’ve always felt).

Please let me know if you manage to find an easier solution first, though. I’m kind of hoping that you do since my solution will be slightly involved.

billt…@gmail.com

unread,

Apr 18, 2019, 9:17:21 PM4/18/19

to fltk.general

Hello I get the above error when trying to configure.

I am using Ubuntu and i have the packages » libx11-dev » installed. ( i saw on  another forum that you need this package )

Also i tried using the

CFLAGS=-Iincludedir; export CFLAGS

CXXFLAGS=-Iincludedir; export CXXFLAGS

LDFLAGS=-Llibdir; export LDFLAGS

commands before running ./configre.

Can you help me troubleshoot this ? (I am new to linux).

billt…@gmail.com

unread,

Apr 18, 2019, 9:17:35 PM4/18/19

to fltk.general

OS : UBUNTU

I get the above error when i try to configure.

I have the package libx11-dev installed.

Also tried the following commands before running configure but still nothing.

CFLAGS=-Iincludedir; export CFLAGS

CXXFLAGS=-Iincludedir; export CXXFLAGS

LDFLAGS=-Llibdir; export LDFLAGS

Gonzalo Garramuño

unread,

Apr 18, 2019, 9:20:46 PM4/18/19

to billt…@gmail.com, ‘Matthias Melcher’ via fltk.general

Hello I get the above error when trying to configure.

I am using Ubuntu and i have the packages » libx11-dev »
installed. ( i saw on  another forum that you need this
package )

Also i tried using the

CFLAGS=-Iincludedir; export CFLAGS

CXXFLAGS=-Iincludedir; export CXXFLAGS

LDFLAGS=-Llibdir; export LDFLAGS

These are not needed.

commands before running ./configre.

Can you help me troubleshoot this ? (I am new to linux).

You forgot to say what error you are getting.  You need more than
libx11-dev installed.

Gonzalo Garramuño

unread,

Apr 18, 2019, 9:29:06 PM4/18/19

to billt…@gmail.com, ‘Matthias Melcher’ via fltk.general

> Hello I get the above error when trying to configure.

>

Sorry, I did not see your title.  Are you sure you are not getting

anything else?

You should also download the following libraries:

-lXext -lpthread -lXinerama -lXfixes -lXcursor -lXft -lXrender



Gonzalo Garramuño

Ian MacArthur

unread,

Apr 18, 2019, 11:41:52 PM4/18/19

to fltkg…@googlegroups.com

> On 18 Apr 2019, at 18:40, billtsekev wrote:

>

> Hello I get the above error when trying to configure.

>

> I am using Ubuntu and i have the packages » libx11-dev » installed. ( i saw on another forum that you need this package )

If you look in the config.log, it should be possible to find out what features it was looking for when it failed — there are a fair number of dev libs needed to get “all” the X11 dependencies resolved, so whilst you have libx11-dev, you are probably still needing XFT or any of a number of others…

If you can see what configure was looking for when it failed (config.log should record that) then that should help you figure out what else you need; or you can post that info here.

On the basis of the error you report, we’d just be guessing really because there are so many things it might be.

Note that the stock Ubuntu install these days seems to be tailored for desktop use or something, as many (all?) of the dev packages are left out of the default. Which is not helpful…

I *suspect* that if you select the “developer profile”, or whatever they call it now, during the Ubuntu install, then you’d get more of this useful stuff by default, but…

w1hkj

unread,

Apr 18, 2019, 11:55:57 PM4/18/19

to fltkg…@googlegroups.com

fldigi is a digital modem program for amateur radio operators.  It

relies on the fltk toolkit for it’s user interface.  Look at the fldigi

wiki, specifically the build how-to’s for information on install all of

the fltk build requirements on Ubuntu and other Linux/Unix/OS-X/Windows

platforms:

http://www.w1hkj.com/doku/doku.php?id=howto:building_on_debian-ubuntu-mint

David

Ian MacArthur

unread,

Apr 19, 2019, 12:01:07 AM4/19/19

to fltkg…@googlegroups.com

> On 18 Apr 2019, at 21:55, w1hkj wrote:

>

> fldigi is a digital modem program for amateur radio operators. It relies on the fltk toolkit for it’s user interface. Look at the fldigi wiki, specifically the build how-to’s for information on install all of the fltk build requirements on Ubuntu and other Linux/Unix/OS-X/Windows platforms:

>

> http://www.w1hkj.com/doku/doku.php?id=howto:building_on_debian-ubuntu-mint

OK…. though I’m concerned that’s a slightly sledgehammer approach to cracking this particular nut…

Albrecht Schlosser

unread,

Apr 19, 2019, 12:33:32 PM4/19/19

to fltkg…@googlegroups.com

FWIW, this is my Ubuntu package list that usually works for me (note:

run ‘sudo apt install <package> … <package>’ for each of these

packages — you can combine multiple package names on the command line):

Try this one first:

build-essential

The following packages are mandatory or at least very useful to get FLTK

built completely:

libx11-dev

libxcursor-dev

libxft-dev

libfontconfig-dev

Optional packages for OpenGL:

freeglut3-dev

libglew-dev

Optional for international text (fonts):

libpango1.0-dev

Optional sound and multi-monitor support:

libasound2-dev

libxinerama-dev

Entirely optional, use only if you want to use Cairo drawing (skip if

you don’t know what this is):

libcairo2-dev

HTH

hoodcanaljim

Posts: 312
Joined: 2006/02/05 17:49:10

./configure unable to find X11 libraries

Hi

I am trying to install plugger on firefox 1.5.012 in centos 5.0
during the first step of plugger-5.1.3 ./configure exits with the
error: Unable to find X11 libraries

From reading around the net it appears there should be a
directory /usr/X11R6/lib but the only subdirectory is bin.
I’ve looked at all the packages that are listed for my installation
that are available and there is nothing listed that looks right. I’ve
installed everything I see with lib in it for xorg.

Any ideas what I am missing?

Thanks
Jim

list of installed packages

xorg-x11-drv-cyrix-1.1.0-4
xorg-x11-drv-sis-0.9.1-7
xorg-x11-drv-ark-0.6.0-2.1
xorg-x11-drv-ast-0.81.0-3
xorg-x11-drv-magictouch-1.0.0.5-2.1
xorg-x11-fonts-misc-7.1-2.1.el5
xorg-x11-drv-mouse-1.1.1-1.1
xorg-x11-xfs-1.0.2-4
xorg-x11-drv-vesa-1.3.0-8.1.el5
xorg-x11-filesystem-7.1-2.fc6
xorg-x11-xauth-1.0.1-2.1
xorg-x11-drv-i740-1.1.0-2.1
xorg-x11-drv-penmount-1.1.0-2.1
xorg-x11-drv-vmware-10.13.0-2.1
xorg-x11-drv-digitaledge-1.1.0-1.1
xorg-x11-drv-s3-0.4.1-2.1
xorg-x11-drv-citron-2.2.0-1.1
xorg-x11-fonts-Type1-7.1-2.1.el5
xorg-x11-server-Xorg-1.1.1-48.26.el5
xorg-x11-xkb-utils-1.0.2-2.1
xorg-x11-drv-microtouch-1.1.0-1.1
xorg-x11-drv-fpit-1.1.0-1.1
xorg-x11-drv-sisusb-0.8.1-4.1
xorg-x11-drv-summa-1.1.0-1.1
xorg-x11-drv-dmc-1.1.0-2
xorg-x11-drv-acecad-1.1.0-2.1
xorg-x11-drv-apm-1.1.1-2.1
xorg-x11-drv-joystick-1.1.0-1.1
xorg-x11-drv-palmax-1.1.0-1.1
xorg-x11-drv-hyperpen-1.1.0-2
xorg-x11-drv-jamstudio-1.1.0-1.1
xorg-x11-drv-calcomp-1.1.0-1.1
xorg-x11-drv-neomagic-1.1.1-2.1
xorg-x11-drv-ur98-1.1.0-1.1
xorg-x11-fonts-100dpi-7.1-2.1.el5
xorg-x11-fonts-truetype-7.1-2.1.el5
xorg-x11-drv-void-1.1.0-3.1
xorg-x11-apps-7.1-4.0.1.el5
xorg-x11-server-Xvfb-1.1.1-48.26.el5
xorg-x11-drv-i810-1.6.5-9.6.el5
xorg-x11-drv-i810-devel-1.6.5-9.6.el5
xorg-x11-twm-1.0.1-3.1
xorg-x11-xinit-1.0.2-13.el5
xorg-x11-utils-7.1-2.fc6
xorg-x11-drv-spaceorb-1.1.0-1.1
xorg-x11-drv-savage-2.1.1-5.fc6
xorg-x11-drv-vmmouse-12.4.0-2.1
xorg-x11-drv-s3virge-1.9.1-2.1
xorg-x11-drv-cirrus-1.1.0-2.fc6
xorg-x11-drv-dynapro-1.1.0-2
xorg-x11-drv-aiptek-1.0.1-2
xorg-x11-drv-mutouch-1.1.0-2
xorg-x11-drv-vga-4.1.0-2.1
xorg-x11-drv-voodoo-1.1.0-3.1
xorg-x11-drv-glint-1.1.1-4.1
xorg-x11-drv-fbdev-0.3.0-2
xorg-x11-drv-chips-1.1.1-2.1
xorg-x11-drv-elo2300-1.1.0-1.1
xorg-x11-drivers-7.1-4.1.el5
xorg-x11-font-utils-7.1-2
xorg-x11-fonts-75dpi-7.1-2.1.el5
xorg-x11-xtrans-devel-1.0.1-1.1.fc6
xorg-x11-drv-evdev-1.0.0.5-3.el5
xorg-x11-drv-mga-1.4.2-6.el5
xorg-x11-drv-trident-1.2.1-3.fc6
xorg-x11-drv-v4l-0.1.1-4
xorg-x11-drv-via-0.2.1-9
xorg-x11-drv-rendition-4.1.0-3.1
xorg-x11-drv-tdfx-1.2.1-3.1
xorg-x11-drv-ati-6.6.3-3.2.el5
xorg-x11-fonts-base-7.1-2.1.el5
xorg-x11-fonts-ISO8859-1-100dpi-7.1-2.1.el5
xorg-x11-util-macros-1.0.2-4.fc6
xorg-x11-server-sdk-1.1.1-48.26.el5
xorg-x11-drv-keyboard-1.1.0-3
xorg-x11-server-utils-7.1-4.fc6
xorg-x11-drv-siliconmotion-1.4.1-2.1
xorg-x11-drv-nsc-2.8.1-2.1
xorg-x11-drv-tek4957-1.1.0-1.1
xorg-x11-drv-elographics-1.1.0-1.1
xorg-x11-drv-magellan-1.1.0-1.1
xorg-x11-drv-dummy-0.2.0-2.1
xorg-x11-drv-i128-1.2.0-4
xorg-x11-drv-tseng-1.1.0-3.1
xorg-x11-fonts-ISO8859-1-75dpi-7.1-2.1.el5
xorg-x11-proto-devel-7.1-9.el5.centos
xorg-x11-xbitmaps-1.0.1-4.1
xorg-x11-server-Xnest-1.1.1-48.26.el5
xorg-x11-drv-nv-2.1.2-1.el5


yyagol

Posts: 1015
Joined: 2006/06/10 18:27:44
Location: 32 4′N 34 47′E
Contact:

Re: ./configure unable to find X11 libraries

Post

by yyagol » 2008/01/10 05:42:49

[code][root@lan-199 ~]# yum info libX11-devel
Loading «installonlyn» plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
Name : libX11-devel
Arch : i386
Version: 1.0.3
Release: 8.0.1.el5
Size : 770 k
Repo : installed
Summary: X.Org X11 libX11 development package

Description:
X.Org X11 libX11 development package[/code]


hoodcanaljim

Posts: 312
Joined: 2006/02/05 17:49:10

Re: ./configure unable to find X11 libraries

Post

by hoodcanaljim » 2008/01/10 16:14:34

Thanks yyagol

I ran the command «yum info libX11-devel» and got the same response you show. So the Libs are there.
I tried runing «./configure —x-libraries=/usr/lib/» and «/configure —x-libraries=/usr/include/X11/»
but got the same old error.

plugger-5.1.3]# ./configure —x-libraries=/usr/include/X11/

checking whether make sets $(MAKE)… yes
checking how to run the C preprocessor… gcc -E
checking for X… libraries /usr/include/X11/, headers
checking for gethostbyname… yes
checking for connect… yes
checking for remove… yes
checking for shmat… yes
checking for IceConnectionNumber in -lICE… yes
checking for atexit in -ldl… yes
configure: error: Unable to find X11 libraries

This is the output of «rpm -ql libX11-devel»

/usr/include/X11
/usr/include/X11/ImUtil.h
/usr/include/X11/XKBlib.h
/usr/include/X11/Xcms.h
/usr/include/X11/Xlib.h
/usr/include/X11/XlibConf.h
/usr/include/X11/Xlibint.h
/usr/include/X11/Xlocale.h
/usr/include/X11/Xregion.h
/usr/include/X11/Xresource.h
/usr/include/X11/Xutil.h
/usr/include/X11/cursorfont.h
/usr/lib/libX11.so
/usr/lib/lib/usr/lib/pkgconfig/x11.pc
/usr/share/man/man3/AllPlanes.3x.gz
/usr/share/man/man3/BitmapBitOrder.3x.gz

Thanks Jim


yyagol

Posts: 1015
Joined: 2006/06/10 18:27:44
Location: 32 4′N 34 47′E
Contact:

Re: ./configure unable to find X11 libraries

Post

by yyagol » 2008/01/10 19:38:07

Well you need to install it , make sure its installed

[code]# yum install libX11-devel
Loading «installonlyn» plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

# rpm -qa|grep libX11
libX11-1.0.3-8.0.1.el5
libX11-devel-1.0.3-8.0.1.el5[/code]


hoodcanaljim

Posts: 312
Joined: 2006/02/05 17:49:10

Re: ./configure unable to find X11 libraries

Post

by hoodcanaljim » 2008/01/10 21:35:56

Sorry yyagol

I must not have made myself clear.
The required files have been on my computer all the time.
NOTE: these are from my computer

plugger-5.1.3]# yum install libX11-devel
Loading «installonlyn» plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

plugger-5.1.3]# rpm -qa | grep libX11
libX11-devel-1.0.3-8.0.1.el5
libX11-1.0.3-8.0.1.el5

*———————————*
Since they are there I tried pointing at what I though was there location

Output of % rpm -ql libX11-devel
/usr/include/X11
/usr/include/X11/ImUtil.h
/usr/include/X11/XKBlib.h
/usr/include/X11/Xcms.h
/usr/include/X11/Xlib.h
/usr/include/X11/XlibConf.h
/usr/include/X11/Xlibint.h
/usr/include/X11/Xlocale.h
/usr/include/X11/Xregion.h
/usr/include/X11/Xresource.h
/usr/include/X11/Xutil.h
/usr/include/X11/cursorfont.h
/usr/lib/libX11.so
/usr/lib/pkgconfig/x11.pc
/usr/share/man/man3/AllPlanes.3x.gz

So I tried:
plugger-5.1.3]# ./configure —x-libraries=/usr/include/X11/

and got
hecking how to run the C preprocessor… gcc -E
checking for X… libraries /usr/include/X11/, headers
checking for gethostbyname… yes
checking for connect… yes
checking for remove… yes
checking for shmat… yes
checking for IceConnectionNumber in -lICE… yes
checking for atexit in -ldl… yes
configure: error: Unable to find X11 libraries

And I tried:
plugger-5.1.3]# ./configure —x-libraries=/usr/lib

checking for X… libraries /usr/lib, headers
checking for gethostbyname… yes
checking for connect… yes
checking for remove… yes
checking for shmat… yes
checking for IceConnectionNumber in -lICE… yes
checking for atexit in -ldl… yes
configure: error: Unable to find X11 libraries

Looks like I still don’t know the magic word

Thanks Jim


User avatar

toracat

Site Admin
Posts: 7505
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: ./configure unable to find X11 libraries

Post

by toracat » 2008/01/10 22:21:03

I read somewhere that plugger is no longer being actively developed and we should use mozplugger.


yyagol

Posts: 1015
Joined: 2006/06/10 18:27:44
Location: 32 4′N 34 47′E
Contact:

Re: ./configure unable to find X11 libraries

Post

by yyagol » 2008/01/11 21:49:28

Its true i read that too , but i did manage to compile this source without any problems
here is the list of devel package installed on my comp , for im not sure which one you do need
hope this helps but i would take [b]toracat[/b] advice and try to use mozplugger . plugger has stoped at 2001 ,
i guess moving on is th right choice

[code]xorg-x11-proto-devel-7.1-9.el5.centos
libXrandr-devel-1.1.1-3.1
libglade2-devel-2.6.0-2
dbus-glib-devel-0.70-5
esound-devel-0.2.36-3
libgnomeui-devel-2.16.0-5.el5
libstdc++-devel-4.1.2-14.el5
libpng-devel-1.2.10-7.1.el5_0.1
libXft-devel-2.1.10-1.1
libwnck-devel-2.16.0-4.fc6
libbonobo-devel-2.16.0-1.fc6
libSM-devel-1.0.1-3.1
librsvg2-devel-2.16.1-1.el5
zlib-devel-1.2.3-3
atk-devel-1.12.2-1.fc6
libXrender-devel-0.9.1-3.1
pango-devel-1.14.9-3.el5.centos
libXi-devel-1.0.1-3.1
libXdmcp-devel-1.0.1-2.1
dbus-devel-1.0.0-6.el5
libgpg-error-devel-1.4-2
libart_lgpl-devel-2.3.17-4
libbonoboui-devel-2.16.0-1.fc6
gnome-desktop-devel-2.16.0-1.el5.centos.1
glibc-devel-2.5-18.el5_1.1
alsa-lib-devel-1.0.14-1.rc4.el5
mesa-libGL-devel-6.5.1-7.5.el5
libXau-devel-1.0.1-3.1
libXinerama-devel-1.0.1-2.1
libXcursor-devel-1.1.7-1.1
libxml2-devel-2.6.26-2.1.2
ORBit2-devel-2.14.3-4.el5
libgcrypt-devel-1.2.3-1
sqldeveloper-1.2.1.32.13-1
audiofile-devel-0.2.6-5
libgnomecanvas-devel-2.14.0-4.1
gnome-keyring-devel-0.6.0-1.fc6
libgsf-devel-1.14.1-6.1
freetype-devel-2.2.1-19.el5
fontconfig-devel-2.4.1-6.el5
libXext-devel-1.0.1-2.1
GConf2-devel-2.14.0-9.el5
libxslt-devel-1.1.17-2
libICE-devel-1.0.1-2.1
libcroco-devel-0.6.1-2.1
cairo-devel-1.2.4-3.el5_1
gtk2-devel-2.10.4-19.el5
glib2-devel-2.12.3-2.fc6
libX11-devel-1.0.3-8.0.1.el5
libXfixes-devel-4.0.1-2.1
libIDL-devel-0.8.7-1.fc6
gnome-vfs2-devel-2.16.2-4.el5
libgnome-devel-2.16.0-6.el5
startup-notification-devel-0.8-4.1
hal-devel-0.5.8.1-25.el5_1.1[/code]


hoodcanaljim

Posts: 312
Joined: 2006/02/05 17:49:10

Re: ./configure unable to find X11 libraries

Post

by hoodcanaljim » 2008/01/11 23:56:00

Thanks to everyone who answered this one…

But its time to move on…. I’ve spun my wheels over this for so long the original problem that caused me to try to load plugger has been «worked around» and will be the subject of a new topic in this forum..

All the files you listed for me, yyagol. Appear to be there so what the hangup is I don’t know..

Thanks again
Jim

[quote]
yyagol wrote:
Its true i read that too , but i did manage to compile this source without any problems
here is the list of devel package installed on my comp , for im not sure which one you do need
hope this helps but i would take [b]toracat[/b] advice and try to use mozplugger . plugger has stoped at 2001 ,
i guess moving on is th right choice

[code]xorg-x11-proto-devel-7.1-9.el5.centos
libXrandr-devel-1.1.1-3.1
libglade2-devel-2.6.0-2
dbus-glib-devel-0.70-5
esound-devel-0.2.36-3
libgnomeui-devel-2.16.0-5.el5
libstdc++-devel-4.1.2-14.el5
libpng-devel-1.2.10-7.1.el5_0.1
libXft-devel-2.1.10-1.1
libwnck-devel-2.16.0-4.fc6
<snip>
startup-notification-devel-0.8-4.1
hal-devel-0.5.8.1-25.el5_1.1[/code][/quote]


spankbot

Posts: 7
Joined: 2008/11/12 04:46:33
Contact:

Re: ./configure unable to find X11 libraries

Post

by spankbot » 2008/11/12 07:52:02

Someone helped me with this today. There are a whole bunch of devel rpms that need to be installed for you to be able to compile X11 stuff.

The command:

yum groupinfo «X Software Development»

Will list the rpms needed. You can install them all in one shot with

yum groupinstall «X Software Development»


У меня возникли проблемы с настройкой FLTK. В настоящее время я использую окна и пытаюсь создать его с помощью msys2. Всякий раз, когда я пытаюсь настроить его с помощью ./configure, я получаю эту ошибку:

configure: error: Configure could not find required X11 libraries, aborting.

Вот полная трассировка стека: https://pastebin.com/raw/YeA72wYr

Я безуспешно пытался повторно загрузить FLTK.

Что я должен делать? Благодарность!

1 ответ

Лучший ответ

См. эту проблему GitHub, где jputcu может обойти проблему, передав --build=mingw32 к скрипту настройки.

Вы можете прочитать остальную часть выпуска GitHub, чтобы узнать больше, или подписаться на него, следя за обсуждением. Смело участвуйте там.


2

david fong
5 Сен 2022 в 07:43

Понравилась статья? Поделить с друзьями:
  • Connection error 87 check how to fix
  • Connection error 809 bright vpn
  • Connection error 595 no route to host
  • Connection error 1005 ssh
  • Connection error 1001