[xcrysden] [Partially solved] Install fails at startup in function glLightfv()
Bhagwan Sahu
brsahu_2000 at yahoo.com
Fri Dec 9 18:55:17 CET 2011
Hi,
I have a 32 bit desktop with Ubuntu Linux (version 10.04) and downloaded the semi-shared version for it.
xc-1.5.24-linux_x86-semishared.tar.gz
ungzip followed by ./xcConfigure step and followed by source ~/.bashrc and launching 'xcrysden' from the Xcrysden directory produces this message:
Can't open /home/brsahu/XCrySDen-1.5.25-bin-shared/scripts/xcLib.sh
Any suggestions?
Bhagawan
--- On Fri, 9/12/11, Lucas Fernandez Seivane <quevedin at gmail.com> wrote:
> From: Lucas Fernandez Seivane <quevedin at gmail.com>
> Subject: Re: [xcrysden] [Partially solved] Install fails at startup in function glLightfv()
> To: "XCrySDen mailing list" <xcrysden at democritos.it>
> Date: Friday, 9 December, 2011, 11:04 PM
> The shared uses system version of
> mesa, opengl tcl/tk and all that,
> the semi-shared used some inside but relies on system tcl.
> I think
> again of a bug of the kernel. Usually, I install the
> semi-shared,
> since it is less distro-dependent, and xcrysden is not
> packed by any
> distribution.
>
> regards
>
> On Fri, Dec 9, 2011 at 11:17, Jim Parker <jimparker96313 at gmail.com>
> wrote:
> > After further troubleshooting, I got the semi-shared
> version to run.
> >
> > However, I'm not sure why it works now. I had made
> several changes to
> > the system to attempt to fix the libGL crash,
> including upgrading the
> > kernel
> >
> > $> sudo apt-get upgrade kernel
> >
> > and installing libgl1-mesa-glx libglu1-mesa-dev and
> others that I lost track of.
> >
> > I guess I'd like to know what is the exact difference
> between the
> > shared and semi-shared versions since one works and
> the other doesn't?
> >
> > Cheers,
> > --Jim
> >
> >
> >
> > On 12/8/11, Jim Parker <jimparker96313 at gmail.com>
> wrote:
> >> Hello,
> >> I have used this program on a Windows machine,
> but I am trying to
> >> install on a Linux box. Normally, I find it
> harder to compile these
> >> kinds of codes on Windows vice linux, so this is a
> first for me...
> >>
> >> I have tried installing the shared/semi-shared and
> source versions,
> >> and yes I cleanly separated the different
> versions...
> >>
> >> All crash at the same point during start up.
> When I run with
> >> $> xcrysden -d
> >>
> >> I get to the line
> >> Executing: XCrySDen-1.5.24-src/bin/ftnunit
> >>
> >> Program received signal SIGSEGV, Segmentation
> fault.
> >> 0x00596c06 in glLightfv() from
> /usr/lib/mesa/libGL.so.1
> >>
> >> I compiled the source code with debugging enabled
> and tracked the
> >> error to line 408 in C/lighting.c
> >>
> >> line 408: glLightfv(_LIGHT[il], GL_AMBIENT,
> light[il].ambient)
> >>
> >> At this point I am stumped, the value of il = 0,
> which would indicate
> >> this command fails the first time it is called.
> >>
> >> My system is an Ubuntu 10.04 LTS distro
> >> Intel 945GM graphics card
> >>
> >> Any suggestions would be appreciated.
> >>
> >> Cheers,
> >> --Jim
> >>
> > _______________________________________________
> > XCrySDen mailing list
> > XCrySDen at democritos.it
> > http://www.democritos.it/mailman/listinfo/xcrysden
>
>
>
> --
> Lucas Fernández Seivane
> UTSA - Department of Physics and Astronomy
> +1 210 458 8052
> (Formerly Universidad de Oviedo - CINN
> http://sites.google.com/site/quevedin/
> http://www.researcherid.com/rid/A-8610-2008
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden
>
More information about the XCrySDen
mailing list