Page 1 of 1

Compiling NEURON/interviews in UBUNTU

Posted: Mon Sep 25, 2006 10:15 am
by jdsitt
I am trying to compile Neuron 5.9 in UBUNTU.

When I try to ./configure interviews I get the error :

configure: error: cannot find X11

Ideas ?

Posted: Mon Sep 25, 2006 11:08 am
by ted

Posted: Tue Nov 21, 2006 9:45 am
by henriklinden
jdsitt,

i have the exact same problem as you in Ubuntu Edgy. I guess it is one package or the other missing in the linux installation, but have you been able to figure out which one?

Henrik

Posted: Tue Nov 21, 2006 11:32 am
by ted
Can you compile any source code of anything at all? If not, you probably need the complete
"software developement tools" (which may be called something else by your distribution).
Otherwise, maybe all you need is the X11 development package. Read your distribution's
documentation and follow its instructions.

Posted: Wed Nov 22, 2006 7:07 am
by henriklinden
yes, I have been able to compile source code for other programs, and I've installed some packages not in my original Kubuntu 6.10 dist for X11, such as libx11-dev, but it doesn't seem to help. When I try to ./configure Interview I get

....
checking sys/conf.h usability... no
checking sys/conf.h presence... no
checking for sys/conf.h... no
checking for X... no
configure: error: cannot find X11
...

Is there a list somewhere over what packages for X11 are needed for installation, or could it be that links are not set up properly?

thanks in advance,
Henrik

Posted: Wed Dec 20, 2006 10:11 am
by PhilippRautenberg
henriklinden wrote:yes, I have been able to compile source code for other programs, and I've installed some packages not in my original Kubuntu 6.10 dist for X11, such as libx11-dev, but it doesn't seem to help. When I try to ./configure Interview I get

....
checking sys/conf.h usability... no
checking sys/conf.h presence... no
checking for sys/conf.h... no
checking for X... no
configure: error: cannot find X11
...

Is there a list somewhere over what packages for X11 are needed for installation, or could it be that links are not set up properly?

thanks in advance,
Henrik
Hey Henrik,
try
sudo apt-get install gnome-devel
(if you use gnome. with kde: kde-devel).
If this doesn't help use as well:
sudo apt-get install x-dev
That should work!
happy hacking,
Philipp

Posted: Tue Apr 10, 2007 6:01 am
by csh
PhilippRautenberg wrote: sudo apt-get install gnome-devel
(if you use gnome. with kde: kde-devel).
If this doesn't help use as well:
sudo apt-get install x-dev
That should work!
happy hacking,
Philipp
I recently ran into the same problems in Ubuntu (feisty). Although I thought I had installed every single x-development package under the sun (including those mentioned in this thread), config.log still said:

Code: Select all

conftest.c:38:27: error: X11/Intrinsic.h: No such file or directory
Installing libxt-dev finally resolved the problems.

Christoph

Posted: Wed Oct 31, 2007 11:35 am
by dadadel
I had the same problem and I fixed it by installing xorg-dev under ubuntu feisty, if that can help!