go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Update REQ 6171]: Problems to compile Geomview




> src/lib/fexpr/parse.tab.h should be there -- it's present in the
> source distribution package
>   ftp://geom.umn.edu/pub/software/geomview/geomview-1.6.1-src.tar.gz
> Could you have deleted it somehow?  Check whether you can re-extract it
> from the original tar package.
> 
> As for the missing Xpm functions, I don't know.  Our copy of Motif doesn't
> use the Xpm library, so we don't include it on the link line.  I suppose
> the Linux Motif allows displaying color pixmaps, unlike the version we have.
> You might have to add -lXpm explicitly to the makefiles/mk.linux list of
> libraries to use for Motif, as in changing:
> 
> SYSMOTIFLIBS = -L${SYSXLIBDIR} -lXm
> 
>     to
> 
> SYSMOTIFLIBS = -L${SYSXLIBDIR} -lXm -lXpm

Thanks. geomview is now compiled (with Mesa-2.2, Mootif-2.0)


I have now a new problem (a "segmentation fault" problem) : 

belzebuth:/mnt/Geomview/bin$ echo $GEOM
/mnt/Geomview
belzebuth:/mnt/Geomview/bin$ echo $GEOMROOT
/mnt/Geomview
belzebuth:/mnt/Geomview/bin$ echo $CPU     
linux
belzebuth:/mnt/Geomview/bin$ geomview 
Segmentation fault
belzebuth:/mnt/Geomview/bin$ ls
anytooff*    bez2mesh*    gvx*         math2oogl*   oogl2rib*    togeomview*
anytoucd*    clip*        hvectext*    offconsol*   oogl2vrml*   ucdtooff*
bdy*         geomview*    linux/       offcvt*      polymerge*   vrml2oogl*
belzebuth:/mnt/Geomview/bin$ gvx
Segmentation fault
belzebuth:/mnt/Geomview/bin$ ls -l
total 3489
-rwxrwxr-x   1 gaucher  users      292010 Apr 18 18:00 anytooff*
-rwxr-xr-x   1 gaucher  users      245192 Apr 18 18:00 anytoucd*
-rwxrwxr-x   1 gaucher  users      293775 Apr 18 18:00 bdy*
-rwxrwxr-x   1 gaucher  users      263419 Apr 18 18:00 bez2mesh*
-rwxrwxr-x   1 gaucher  users      304776 Apr 18 18:00 clip*
-rwxrwxr-x   1 gaucher  users        2842 Apr 18 18:03 geomview*
-rwxr-xr-x   1 gaucher  users      836040 Apr 18 18:11 gvx*
-rwxr-xr-x   1 gaucher  users       12626 Nov 22 18:01 hvectext*
drwxr-xr-x   2 gaucher  users        1024 Apr 18 18:06 linux/
-rwxrwxr-x   1 gaucher  users       28630 Apr 18 18:00 math2oogl*
-rwxrwxr-x   1 gaucher  users      263766 Apr 18 18:00 offconsol*
-rwxrwxr-x   1 gaucher  users      130077 Apr 18 18:05 offcvt*
-rwxrwxr-x   1 gaucher  users      336279 Apr 18 18:00 oogl2rib*
-rwxrwxr-x   1 gaucher  users      297650 Apr 18 18:00 oogl2vrml*
-rwxrwxr-x   1 gaucher  users       45890 Apr 18 18:00 polymerge*
-rwxrwxr-x   1 gaucher  users       22975 Apr 18 18:05 togeomview*
-rwxr-xr-x   1 gaucher  users       24172 Apr 18 18:00 ucdtooff*
-rwxrwxr-x   1 gaucher  users      132487 Apr 18 18:01 vrml2oogl*


I have XFree3.2A, linux 2.0.30, ET6000 video-card.

Do you have an idea ? (I hope this is not a FAQ

Thanks in advance. 

PS : here is my makefile/mk.linux file : 

#
# Makefile that sets machine-specific variables and rules 
# for Linux.
#
#
# A machine-specific makefile is included by all other makefiles.
#

#CPU = linux
MACHTYPE = linux
RANLIB = :
CC = gcc -pipe
CPLUSPLUS = g++ -pipe
INSTALL = ${GEOM}/tools/install.bsd
AR = /usr/bin/ar
ARRANFLAGS = s
MKDEPFLAGS =

# Add locations of Motif (Xm/*.h) & other include files to the path, e.g.
# SYSCOPTS = -I/usr/include/X11 -I/u/share/include/Motif1.1
SYSCOPTS = -I/usr/include/X11 -I/usr/X11R6/include

SYSXLIBDIR = /usr/X11/lib

SYSMOTIFLIBS = -L${SYSXLIBDIR} -lXm
SYSXLIBS = -L${SYSXLIBDIR} -lXt -lXext -lICE -lX11 -ldl -lXpm

# If you have the FORMS library, uncomment these lines and edit:
#  set FORMSLIBS to the list of all libs needed
#  and FORMSINC to the relevant -I options:
FORMSLIBS = -L/usr/local/lib -lforms -L${SYSXLIBDIR} -lX11
FORMSINC = -I/u/share/include/XForms

# If you have Tcl/Tk libraries (tk 4.0 or later), uncomment and edit:
# indicate cc options to find tk-related libraries and include-files.
TKLIBS = -ltk -ltcl -L${SYSXLIBDIR} -lX11 -ldl
TKINC = -I/usr/include


# Uncomment one of the SYSLIBS definitions according to your version of Linux:

# Include this for Linux 1.0, where some routines
# (used in src/lib/oogl/util/glibglue.C) were moved into libiostream.a:

SYSLIBS = -liostream

# Include this for Linux with gcc >= 2.7.0, where those same routines
# have moved again into libstdc++.a -- thanks to Tim Rowley:

# OTHERLIBOPTS = -L/usr3/linuxnew/usr/lib/old
SYSLIBS = ${OTHERLIBOPTS} -lstdc++

# MGTYPE = -DMGX11
# MGLIBS =

# or, for OpenGL using Mesa libraries, maybe:
MESA = /mnt/Mesa-2.2
MGTYPE = -DMGOPENGL
MGLIBS = -lMesaGL -lMesaGLU
MGINC  = -I${MESA}/include


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo