origami build fails

2 views
Skip to first unread message

Roger Mason

unread,
Dec 9, 2009, 1:32:45 PM12/9/09
to amrita...@googlegroups.com
Hello,

I'm trying to build 3.04 on Linux pyrope 2.6.30-gentoo-r5 #10 SMP Sun
Nov 15 08:31:36 NST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU.

I built amrita earlier this week and thought all was well. However,
when I tried today to use origami it failed. Following advice I was
given earlier this year I ran:

xterm -class AMrgi -name amrgi -ut -display :0 -hold -e \
/home/rmason/AMRITA/AMRITAv3.04/bin/serial/Linux/x86_64/O/origami

and the resulting xterm says "Cannot open termcap file".

I decided to re-build amrita and the origami build fails:

amrmake -verbose src3p::origami

....
***********************************
amrcc: pass #4 generate binary file
***********************************
AMRITA::system { verbose mode
gcc-4.2.4 -O3 -w -m32 -fPIC -I/usr/X11R6/include -I/usr/include \
-I/home/rmason/AMRITA/AMRITAv3.04/include/cc \
-I/home/rmason/AMRITA/AMRITAv3.04/src -I/include/cc -I. -I.. \
-I/home/rmason/.amrita/include/cc -I/include/ -Dserial_code
-DLinux_x86_64 \
-D_code -o ./amrorigami ccsrc/origami1.o -L. -L/usr/local/lib
-L/usr/lib/termcap \
-L/usr/X11R6/lib -LAMRSO/serial/Linux/x86_64 -L.. -lORIGAMI -ltermcap
-lXm -lXt \
-lXext -lXp -lX11
}
Sanity Checks
origami BROKEN!
***********************************
amrbuild failed for src3p::origami!
***********************************

I have libtermcap.a (compiled on a 32-bit system) in /usr/local/lib and

SYSTEM/Linux/x86_64/use/Termcap contains:

lib = termcap
#ldir = /usr/lib /usr/lib/termcap
ldir = /usr/local/lib

Thanks for any help.

Roger

James Quirk

unread,
Dec 9, 2009, 2:33:00 PM12/9/09
to amrita...@googlegroups.com
Roger,

What happens if you try:

export ORIGAMIHOME=$AMRITA/src3p/origami/keys

and then run the xterm command.

James
> --
>
> You received this message because you are subscribed to the Google Groups "amrita-ebook" group.
> To post to this group, send email to amrita...@googlegroups.com.
> To unsubscribe from this group, send email to amrita-ebook...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/amrita-ebook?hl=en.
>
>

Roger Mason

unread,
Dec 9, 2009, 2:43:23 PM12/9/09
to amrita...@googlegroups.com
Hi James,

James Quirk <j...@galcit.caltech.edu> writes:

> What happens if you try:
>
> export ORIGAMIHOME=$AMRITA/src3p/origami/keys
>
> and then run the xterm command.

Exactly the same: the resulting xterm says "Cannot open termcap file".

Cheers,
Roger

James Quirk

unread,
Dec 9, 2009, 2:56:37 PM12/9/09
to Roger Mason, amrita...@googlegroups.com
Roger,

On Wed, 9 Dec 2009, Roger Mason wrote:

The error message is given by:

$AMRITA/src3p/origami/Screen.C

following a call to tgetent. On my machine it's looking for:

/etc/termcap

which is a symbolic link to:

/usr/share/misc/termcap

You should check that you have the file and it is readable.

James


>
> Cheers,
Reply all
Reply to author
Forward
0 new messages