ALT Linux users (in English only)
 help / color / mirror / Atom feed
* [Comm-en] Compiling from source - X headers
@ 2004-05-25 10:15 Richard Hainsworth
  2004-05-25 10:24 ` Michael Shigorin
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Hainsworth @ 2004-05-25 10:15 UTC (permalink / raw)
  To: community-en

I have Compact distro
I want to use software available in source form (cgoban-1.9.12.tar.gz)
After downloading gcc using aptget, dearchiving and using the configure
macro, I get the following:
checking for X... no
*** Sorry, configure cannot find your X includes and libraries.
***  Compiling cannot continue until this is fixed
*** If you know where X11 is installed, try
*** ./configure --x-includes=<DIR> --x-libraries=<DIR>

I tried ./configure --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib
The configure worked, but make failed as it required X11 headers
Xlib.h, Xutil.h, keysym.h 

So where do I find these headers?

Richard



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm-en] Compiling from source - X headers
  2004-05-25 10:15 [Comm-en] Compiling from source - X headers Richard Hainsworth
@ 2004-05-25 10:24 ` Michael Shigorin
  2004-05-27  6:41   ` Richard Hainsworth
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2004-05-25 10:24 UTC (permalink / raw)
  To: community-en

On Tue, May 25, 2004 at 02:15:46PM +0400, Richard Hainsworth wrote:
> I have Compact distro
> I want to use software available in source form (cgoban-1.9.12.tar.gz)
> After downloading gcc using aptget, dearchiving and using the configure
> macro, I get the following:
> checking for X... no
> *** Sorry, configure cannot find your X includes and libraries.
> ***  Compiling cannot continue until this is fixed
> *** If you know where X11 is installed, try
> *** ./configure --x-includes=<DIR> --x-libraries=<DIR>
> 
> I tried ./configure --x-includes=/usr/X11R6/include
> --x-libraries=/usr/X11R6/lib
> The configure worked, but make failed as it required X11 headers
> Xlib.h, Xutil.h, keysym.h 
> 
> So where do I find these headers?

In XFree86-devel package.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm-en] Compiling from source - X headers
  2004-05-25 10:24 ` Michael Shigorin
@ 2004-05-27  6:41   ` Richard Hainsworth
  2004-05-27  6:58     ` Michael Shigorin
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Hainsworth @ 2004-05-27  6:41 UTC (permalink / raw)
  To: community-en

Tried to find this package using Synaptic, XFree86-devel is not listed
as a package.

Tried apt-cache search XFree86-devel*
and found several packages, but not one named XFree86-devel
Those I found, eg. XFree86-lib, are already installed.

So once again:
Where can I find the X header files?
If the answer is XFree86-devel, how do I get XFree86-devel?

Richard

Richard

On Втр, 2004-05-25 at 14:24, Michael Shigorin wrote:
> On Tue, May 25, 2004 at 02:15:46PM +0400, Richard Hainsworth wrote:
> > I have Compact distro
> > I want to use software available in source form (cgoban-1.9.12.tar.gz)
> > After downloading gcc using aptget, dearchiving and using the configure
> > macro, I get the following:
> > checking for X... no
> > *** Sorry, configure cannot find your X includes and libraries.
> > ***  Compiling cannot continue until this is fixed
> > *** If you know where X11 is installed, try
> > *** ./configure --x-includes=<DIR> --x-libraries=<DIR>
> > 
> > I tried ./configure --x-includes=/usr/X11R6/include
> > --x-libraries=/usr/X11R6/lib
> > The configure worked, but make failed as it required X11 headers
> > Xlib.h, Xutil.h, keysym.h 
> > 
> > So where do I find these headers?
> 
> In XFree86-devel package.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm-en] Compiling from source - X headers
  2004-05-27  6:41   ` Richard Hainsworth
@ 2004-05-27  6:58     ` Michael Shigorin
  2004-05-28  7:38       ` [Comm-en] What to do when apt-get connection fails mid-way? Richard Hainsworth
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2004-05-27  6:58 UTC (permalink / raw)
  To: community-en

On Thu, May 27, 2004 at 10:41:30AM +0400, Richard Hainsworth wrote:
> Tried to find this package using Synaptic, XFree86-devel is not
> listed as a package.

Yes, "contrib" repo should be plugged in.

It's either duplicating (uncommented) entry for
"Compact/2.3 ALTLinux main" substituting "main" with "contrib"
and then pushing "Update" button in Synaptic, or doing this in an
xterm:

echo "rpm [alt] ftp://ftp.altlinux.com/pub/distributions/ALTLinux/Compact/2.3 ALTLinux contrib" >> /etc/apt/sources.list
apt-get update
apt-get install XFree86-devel

as root ("su -" will yield that given user's shell and root's
password).

It's really an oversight "contrib" wasn't included at least as
commented-out line into default sources.list.

If I'm missing the point and it's not Compact 2.3, then clarify
/etc/altlinux-release contents :-)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Comm-en] What to do when apt-get connection fails mid-way?
  2004-05-27  6:58     ` Michael Shigorin
@ 2004-05-28  7:38       ` Richard Hainsworth
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Hainsworth @ 2004-05-28  7:38 UTC (permalink / raw)
  To: community-en

To get one package (XFree86-devel) using apt-get, I had to download 10
packages and an rpm. Since the connection was slow, I left my computer
on overnight. In the morning, I discovered a time-out failure mid-way
through the LAST package.

I tried "apt-get install XFree86-devel --fix-missing" as suggested in
the failure message. But it seemed all the packages had to download
again.

In the future, how should I re-start the apt-get process so that
downloaded packages are not downloaded again?

Richard



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-28  7:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-25 10:15 [Comm-en] Compiling from source - X headers Richard Hainsworth
2004-05-25 10:24 ` Michael Shigorin
2004-05-27  6:41   ` Richard Hainsworth
2004-05-27  6:58     ` Michael Shigorin
2004-05-28  7:38       ` [Comm-en] What to do when apt-get connection fails mid-way? Richard Hainsworth

ALT Linux users (in English only)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community-en/0 community-en/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community-en community-en/ http://lore.altlinux.org/community-en \
		community-en@lists.altlinux.org community-en@lists.altlinux.ru community-en@lists.altlinux.com
	public-inbox-index community-en

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community-en


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git