Problem attaching models

Rubén Gómez Antolí <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
Hello all,

I have a question and a problem around attach model.

* The question:

If I untar models tarball after compile gnucap and compile & install,
are these models installed in my system before that?

I can't find it:

razer@mac-lobo:/usr/local$ find -iname asrc.so
razer@mac-lobo:/usr/local$ find -iname *.so
./lib/kde3/libklashpart.so
./lib/libarchiveengine.so
./lib/libstreamindexer.so
./lib/libsearchclient.so
./lib/libsqliteindex.so
./lib/libstreams.so
razer@mac-lobo:~$ ll /usr/local/gnucap/lib/models/
total 0
drwxr-sr-x 2 root staff 48 mar 10 21:47 ngspice17
razer@mac-lobo:~$ ll /usr/local/gnucap/lib/models/ngspice17/
total 0

* The problem:

I can't attach anything:

razer@mac-lobo:~/Practicas_2008/Practica_2/Circuitos/Campo_de_pruebas$ ll
total 1,3M
-rwxr-xr-x 1 razer razer 622K mar 10 21:48 asrc.so
-rw-r--r-- 1 razer razer  303 mar  5 22:36 Fuente_B_no_lineal.ckt
-rw-r--r-- 1 razer razer  298 mar  8 22:27 Fuente_no_lineal_Gnucap.ckt
drwxr-xr-x 1 razer razer    4 may 23  2007 Fuera
drwxr-xr-x 1 razer razer    9 feb 19 01:13 Gnucap
-rw-r--r-- 1 razer razer  729 mar  5 22:37 logfile.1
drwxr-xr-x 1 razer razer    6 jun 13  2007 Ngspice
drwxr-xr-x 1 razer razer    5 jun 25  2007 Oregano
-rw-r--r-- 1 razer razer 2,1K jun 15  2007 Preamplifier.cir
-rw-r--r-- 1 razer razer  132 feb 18 22:39 prueba_nodos.ckt
drwxr-xr-x 1 razer razer    5 jun 13  2007 Qucs
-rwxr-xr-x 1 razer razer 657K mar 10 22:17 res.so
-rw-r--r-- 1 razer razer 1,2K mar 10 22:22 salida.tran
razer@mac-lobo:~/Practicas_2008/Practica_2/Circuitos/Campo_de_pruebas$
gnucap
Gnucap 2008.02.10 RCS 26.71
The Gnu Circuit Analysis Package
Never trust any version less than 1.0
Copyright 1982-2007, Albert Davis
Gnucap comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome
to redistribute it under the terms of
the GNU General Public License, version 3 or later.
See the file "COPYING" for details.
gnucap> attach asrc.so
attach asrc.so
       ^ ? asrc.so: cannot open shared object file: No such file or
directory
gnucap> attach ./asrc.so
attach ./asrc.so
       ^ ? ./asrc.so: failed to map segment from shared object:
Operation not permitted

And, I don't know why "get" command don't run:

gnucap> get Fuente_no_lineal_Gnucap.ckt
get Fuente_no_lineal_Gnucap.ckt
^ ? what's this?

I test with "make uninstall" and "make install again"

More data:

Gnucap version: 2008.02.11 snapshot
Models and tools: 2008.02.11 snapshot

System (I use reportbug althoug Gnucap is not installed from .deb):

Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.21-1-powerpc
Locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro (charmap=ISO-8859-15)
(ignored: LC_ALL set to es_ES@euro)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnucap depends on:
ii  libc6                   2.7-9            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080227-1 GCC support library
ii  libncurses5             5.6+20080203-1   Shared libraries for
terminal hand
ii  libreadline5            5.2-3            GNU readline and history
libraries
ii  libstdc++6              4.3-20080227-1   The GNU Standard C++ Library v3

Machine:

Apple PowerBook G4:

razer@mac-lobo:~/Practicas_2008/Practica_2/Circuitos/Campo_de_pruebas$
cat /proc/cpuinfo
processor       : 0
cpu             : 7447A, altivec supported
clock           : 1666.666000MHz
revision        : 0.2 (pvr 8003 0102)
bogomips        : 73.47
timebase        : 18432000
platform        : PowerMac
machine         : PowerBook5,7
motherboard     : PowerBook5,7 MacRISC3 Power Macintosh
detected as     : 287 (PowerBook G4 17")
pmac flags      : 0000001b
L2 cache        : 512K unified
pmac-generation : NewWorld

Any ideas?

Sorry for my very bad english and thanks in advanced.

Salud y Revolución.

Lobo.
-- 
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.