help-octave
[Top][All Lists]
Advanced

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

Re: octave-database - data entry into database table


From: richard
Subject: Re: octave-database - data entry into database table
Date: Sat, 16 Feb 2013 19:37:21 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Feb 11, 2013 at 10:40:12AM +0100, Olaf Till wrote:
> 
> If you are more specific on the problems (including which Octave
> version, which operating system, method of installing the old package
> (binary package or source install with Octaves 'pkg'), used method of
> uninstalling it (if any), method of installing the new package, error
> messages you are seeing) there might be ways to help.
> 
I have reinstalled database-2.0.0 with the following results: 
(for details of OS, Octave and email, please see my earlier post)

# Downloaded database-2.0.0.tar.gz and unpacked. 
# in /src, ran ./autogen.sh, ./configure and $ make 
while there were no error messages or warnings output, 
there were some errors recorded in config.log and
the process appeared to have completed successfully. 
# to check, removing pq_interface.oct and running make again gives: 
mkoctfile -o pq_interface.oct -lpq __pq_connect__.o pq_close.o pq_exec.o 
converters.o converters_arr_comp.o pq_connection.o command.o pq_update_types.o 
pq_lo.o

#create a tar.gz file 
tar cvzf database-2.0.0.tar.gz database-2.0.0
#then as root, run octave
octave > pkg install database-2.0.0.tar.gz
# this wipes the old /database-1.0.4 directory
# and replaces it with this: 
/usr/share/octave/packages/database-2.0.0$ ls -l
total 36
-rw-r--r-- 1 root root 2043 Feb 16 18:17 __all_db_opts__.m
drwxr-xr-x 3 root root 4096 Feb 16 18:17 doc
-rw-r--r-- 1 root root 3575 Feb 16 18:17 doc-cache
-rw-r--r-- 1 root root 1776 Feb 16 18:17 getdbopts.m
drwxr-xr-x 2 root root 4096 Feb 16 18:17 packinfo
-rw-r--r-- 1 root root   33 Feb 16 18:17 PKG_ADD
-rw-r--r-- 1 root root 7686 Feb 16 18:17 pq_connect.m
-rw-r--r-- 1 root root 3327 Feb 16 18:17 setdbopts.m
# quit octave and restart as a normal user, and see if pq_connect is there
octave:2> news pq_connect
error: Package 'pq_connect' is not installed.
error: called from:
error:   /usr/share/octave/3.6.2/m/miscellaneous/news.m at line 39, column 7
# check for pq_interface
octave:1> pq_interface
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault

# Maybe I should file this as a bug report? 

Richard

 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]