[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with pkg install on 2.9.16 cvs
From: |
David Bateman |
Subject: |
Re: Problem with pkg install on 2.9.16 cvs |
Date: |
Mon, 05 Nov 2007 15:57:44 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
Riccardo Corradini wrote:
> I modified the header call
> #include "octave/config.h"
> #include <fstream>
> #include <algorithm>
> #include <queue>
> #include <climits>
> #ifdef HAVE_CONFIG_H
> #include <octave/config.h>
> #endif
> #include <octave/oct.h>
> #include <octave/lo-ieee.h>
> of dlmread.cc
>
> Before starting pkg install io....tgz
> I write export LDFLAGS=-L/usr/lib/octave-2.9.16+/
> export CPPFLAGS=-I/usr/include/octave-2.9.16+/
>
>
> The compilation goes fine but at the end I think there could be
> a bug in pkg.m
> octave -q
> octave:1> pkg install io-1.0.3.tar.gz
> warning: creating installation directory /home/corradin/octave
> warning: directory /home/corradin/octave/io-1.0.3 previously lost
> error: structure has no member `archprefix'
> error: evaluating argument list element number 1
> error: evaluating assignment expression near line 1940, column 11
> error: called from `pkg:getarchdir' in file
> `/usr/share/octave/2.9.16+/m/pkg/pkg.m'
> error: evaluating assignment expression near line 2020, column 12
> error: evaluating for command near line 2014, column 3
> error: called from `pkg:load_packages_and_dependencies' in file
> `/usr/share/octave/2.9.16+/m/pkg/pkg.m'
> error: evaluating if command near line 761, column 3
> error: called from `pkg:install' in file
> `/usr/share/octave/2.9.16+/m/pkg/pkg.m'
> error: evaluating switch command near line 243, column 3
> error: called from `pkg' in file `/usr/share/octave/2.9.16+/m/pkg/pkg.m'
>
> Thanks again to all of you
> Riccardo
>
> */LUK ShunTim <address@hidden>/* ha scritto:
>
> Riccardo Corradini wrote:
> > Hi all,
> > I successfully installed the latest octave2.9.16 from CVS on the
> latest
> > version of ubuntu, but I have some problems installing the
> octave forge
> > packages.
> > It seems there problems are finding the octave's header
> > For instance
> > octave -q
> > octave:1> pkg install io-1.0.3.tar.gz
> > dlmread.cc:18:20: error: config.h: No such file or directory
> > dlmread.cc:26:24: error: octave/oct.h: No such file or directory
> > dlmread.cc:27:28: error: octave/lo-ieee.h: No such file or directory
>
Remove your existing packages and the ~/.octave_packages file.. The
archprefix tag was added to the package database in 2.9.15 to allow
correct Fedora packaging and so the old package databases are invalid..
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary