Re: make error

Daniel O'Donnell <[email protected]>
Newsgroups gmane.text.refdb.general
Organization Department of English, University of Lethbridge
Message-ID <[email protected]>
Following up on the libdbi problem:

Has anybody successfully managed the make on a current debian system? I
did a fresh install of Ubuntu 6.06 to make sure there was no legacy
data, and have tried loading from the libdbi.sourceforge site as well as
from the dapper.ubuntu site and simply cannot get through make. I get
the wrong pointers error even with make dist-clean.

I'm wondering if there is not a way of checking that the correct perl
and other packages are installed and installing if not? I simply can't
get a source install to work.

I'd appreciate any experiences in debian: while I have no programming
experience, I'm not an inexperienced linux user and it is unusual for me
to get as stumped as I currently am.

-d

On Fri, 2006-16-06 at 08:17 +0200, Markus Hoenicka wrote:
> Hi,
> 
> Daniel O'Donnell <[email protected]> was heard to say:
> 
> > refdbdref.c: In function ‘read_ris_data’:
> > refdbdref.c:667: warning: passing argument 2 of ‘iconv’ from
> > incompatible pointer type
> 
> This is nothing to really worry about. There is an inconsistency about the type
> of an argument between the *BSDs and other OSes like Linux. In one case there's
> a char*, in the other case there'sa const char*. If I fix this on Linux, I'll
> get a warning on BSD and vice versa. However, the char* vs. const char* is a
> compile-time warning which will not cause a runtime error as the sizes of both
> pointers are identical. Unfortunately the iconv header file does not use a
> typedef which would allow to work around this issue.
> 
> > refdbdref.c: In function ‘is_journal’:
> > refdbdref.c:2370: error: ‘DBI_ROW_ERROR’ undeclared (first use in this
> > function)refdbdref.c:2370: error: (Each undeclared identifier is
> > reported only once
> 
> This points to a libdbi version issue. DBI_ROW_ERROR is declared in
> <prefix>/include/dbi/dbi.h in libdbi versions 0.8.0 and later. If you use an
> older version of libdbi, you'll simply have to upgrade. If you do have 0.8.0 or
> later installed, you may have stale header files lying around from a previous
> installation of an older version. E.g. if you had installed 0.7.x in /usr and
> later installed 0.8.0 in /usr/local, the older headers will pop up first when
> the compiler looks for the include files.
> 
> regards,
> Markus
> 
-- 
Daniel Paul O'Donnell, PhD
Associate Professor and Chair
Director, Digital Medievalist Project
<http://www.digitalmedievalist.org/>
Department of English
University of Lethbridge
Lethbridge AB T1K 3M4

Tel. +1 (403) 329-2378
Fax. +1 (403) 382-7191

:@wiglaf (dapper ubuntu)



_______________________________________________
Refdb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/refdb-users
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.