Re: Compilation error with latest master

2015-02-01 Thread Cristian Ionescu-Idbohrn
On Fri, 30 Jan 2015, Cristian Ionescu-Idbohrn wrote:
> On Fri, 30 Jan 2015, Dirk Hohndel wrote:
> > On Fri, Jan 30, 2015 at 06:21:45PM +, Pedro Neves wrote:
> > > Hi all:
> > >
> > > I'm trying to compile the latest subsurface master on my system
> > > (Debian/Sid) and I'm getting the following error.
> > > I've just recently installed my OS on this PC and I'm not sure
> > > if I'm missing any package:
> > >
> > >
> > > compiling qt-ui/completionmodels.cpp
> > > In file included from /usr/include/libxml2/libxml/parser.h:810:0,
> > >  from /usr/include/libxml2/libxml/globals.h:18,
> > >  from /usr/include/libxml2/libxml/threads.h:35,
> > >  from /usr/include/libxml2/libxml/xmlmemory.h:218,
> > >  from /usr/include/libxml2/libxml/tree.h:1306,
> > >  from dive.h:37,
> > >  from qt-gui.cpp:12:
> > > /usr/include/libxml2/libxml/encoding.h:31:26: fatal error: unicode/ucnv.h:
> > > No such file or directory
> > >  #include 
> >
> > $ dpkg -S /usr/include/x86_64-linux-gnu/unicode/ucnv.h
> > libicu-dev:amd64: /usr/include/x86_64-linux-gnu/unicode/ucnv.h
> >
> > I didn't install this explicitly, so this is implicitly pulled in
> > by one of the dependencies of the packages that I DO explicitly
> > require for a build on Debian / Ubuntu...
>
> And that may very well be a package dependency problem, as AFAICT:
>
>   Package: libxml2-dev
>   Depends: libxml2
>
> only.

See bug:

https://bugs.debian.org/776694

now resolved in version 2.9.2+dfsg1-3.


Cheers,

-- 
Cristian
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Compilation error with latest master

2015-01-30 Thread Thiago Macieira
On Friday 30 January 2015 19:29:25 Cristian Ionescu-Idbohrn wrote:
> On Fri, 30 Jan 2015, Pedro Neves wrote:
> > In file included from /usr/include/libxml2/libxml/parser.h:810:0,
> >  from /usr/include/libxml2/libxml/globals.h:18,
> >  from /usr/include/libxml2/libxml/threads.h:35,
> >  from /usr/include/libxml2/libxml/xmlmemory.h:218,
> >  from /usr/include/libxml2/libxml/tree.h:1306,
> >  from dive.h:37,
> >  from qt-gui.cpp:12:
>
> That seems to be comming from package:
> 
>   libicu-dev: /usr/include/x86_64-linux-gnu/unicode/ucnv.h
> 
> Yet another dependency?

Not directly. This is not our doing.

Note that dive.h includes libxml/tree.h.

The distribution made libxml2 depend on ICU, so they should have triggered a 
required installation of ICU headers when you installed libxml2's headers. 
Given other emails in this thread, looks like Debian does have the link, so 
check if you somehow bypassed the automatic dependency requirements.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
  PGP/GPG: 0x6EF45358; fingerprint:
  E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Compilation error with latest master

2015-01-30 Thread Cristian Ionescu-Idbohrn
On Fri, 30 Jan 2015, Dirk Hohndel wrote:
> On Fri, Jan 30, 2015 at 06:21:45PM +, Pedro Neves wrote:
> > Hi all:
> >
> > I'm trying to compile the latest subsurface master on my system (Debian/Sid)
> > and I'm getting the following error.
> > I've just recently installed my OS on this PC and I'm not sure if I'm
> > missing any package:
> >
> >
> > compiling qt-ui/completionmodels.cpp
> > In file included from /usr/include/libxml2/libxml/parser.h:810:0,
> >  from /usr/include/libxml2/libxml/globals.h:18,
> >  from /usr/include/libxml2/libxml/threads.h:35,
> >  from /usr/include/libxml2/libxml/xmlmemory.h:218,
> >  from /usr/include/libxml2/libxml/tree.h:1306,
> >  from dive.h:37,
> >  from qt-gui.cpp:12:
> > /usr/include/libxml2/libxml/encoding.h:31:26: fatal error: unicode/ucnv.h:
> > No such file or directory
> >  #include 
>
> $ dpkg -S /usr/include/x86_64-linux-gnu/unicode/ucnv.h
> libicu-dev:amd64: /usr/include/x86_64-linux-gnu/unicode/ucnv.h
>
> I didn't install this explicitly, so this is implicitly pulled in by one
> of the dependencies of the packages that I DO explicitly require for a
> build on Debian / Ubuntu...

And that may very well be a package dependency problem, as AFAICT:

Package: libxml2-dev
Depends: libxml2

only.


Cheers,

-- 
Cristian
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Compilation error with latest master

2015-01-30 Thread Pedro Neves

Hi:

Installing libicu-dev solved the problem.

Cheers:

Pedro

On 01/30/2015 06:29 PM, Dirk Hohndel wrote:

On Fri, Jan 30, 2015 at 06:21:45PM +, Pedro Neves wrote:

Hi all:

I'm trying to compile the latest subsurface master on my system (Debian/Sid)
and I'm getting the following error.
I've just recently installed my OS on this PC and I'm not sure if I'm
missing any package:


compiling qt-ui/completionmodels.cpp
In file included from /usr/include/libxml2/libxml/parser.h:810:0,
  from /usr/include/libxml2/libxml/globals.h:18,
  from /usr/include/libxml2/libxml/threads.h:35,
  from /usr/include/libxml2/libxml/xmlmemory.h:218,
  from /usr/include/libxml2/libxml/tree.h:1306,
  from dive.h:37,
  from qt-gui.cpp:12:
/usr/include/libxml2/libxml/encoding.h:31:26: fatal error: unicode/ucnv.h:
No such file or directory
  #include 

$ dpkg -S /usr/include/x86_64-linux-gnu/unicode/ucnv.h
libicu-dev:amd64: /usr/include/x86_64-linux-gnu/unicode/ucnv.h

I didn't install this explicitly, so this is implicitly pulled in by one
of the dependencies of the packages that I DO explicitly require for a
build on Debian / Ubuntu...

/D


___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Compilation error with latest master

2015-01-30 Thread Cristian Ionescu-Idbohrn
On Fri, 30 Jan 2015, Pedro Neves wrote:
>
> I'm trying to compile the latest subsurface master on my system
> (Debian/Sid) and I'm getting the following error.
> I've just recently installed my OS on this PC and I'm not sure if
> I'm missing any package:
>
>
> compiling qt-ui/completionmodels.cpp
> In file included from /usr/include/libxml2/libxml/parser.h:810:0,
>  from /usr/include/libxml2/libxml/globals.h:18,
>  from /usr/include/libxml2/libxml/threads.h:35,
>  from /usr/include/libxml2/libxml/xmlmemory.h:218,
>  from /usr/include/libxml2/libxml/tree.h:1306,
>  from dive.h:37,
>  from qt-gui.cpp:12:
> /usr/include/libxml2/libxml/encoding.h:31:26: fatal error: unicode/ucnv.h: No 
> such file or directory
>  #include 
>   ^
> compilation terminated.

That seems to be comming from package:

libicu-dev: /usr/include/x86_64-linux-gnu/unicode/ucnv.h

Yet another dependency?


Cheers,

-- 
Cristian
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Compilation error with latest master

2015-01-30 Thread Dirk Hohndel
On Fri, Jan 30, 2015 at 06:21:45PM +, Pedro Neves wrote:
> Hi all:
> 
> I'm trying to compile the latest subsurface master on my system (Debian/Sid)
> and I'm getting the following error.
> I've just recently installed my OS on this PC and I'm not sure if I'm
> missing any package:
> 
> 
> compiling qt-ui/completionmodels.cpp
> In file included from /usr/include/libxml2/libxml/parser.h:810:0,
>  from /usr/include/libxml2/libxml/globals.h:18,
>  from /usr/include/libxml2/libxml/threads.h:35,
>  from /usr/include/libxml2/libxml/xmlmemory.h:218,
>  from /usr/include/libxml2/libxml/tree.h:1306,
>  from dive.h:37,
>  from qt-gui.cpp:12:
> /usr/include/libxml2/libxml/encoding.h:31:26: fatal error: unicode/ucnv.h:
> No such file or directory
>  #include 

$ dpkg -S /usr/include/x86_64-linux-gnu/unicode/ucnv.h
libicu-dev:amd64: /usr/include/x86_64-linux-gnu/unicode/ucnv.h

I didn't install this explicitly, so this is implicitly pulled in by one
of the dependencies of the packages that I DO explicitly require for a
build on Debian / Ubuntu...

/D
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Compilation error with latest master

2015-01-30 Thread Pedro Neves

Hi all:

I'm trying to compile the latest subsurface master on my system 
(Debian/Sid) and I'm getting the following error.
I've just recently installed my OS on this PC and I'm not sure if I'm 
missing any package:



compiling qt-ui/completionmodels.cpp
In file included from /usr/include/libxml2/libxml/parser.h:810:0,
 from /usr/include/libxml2/libxml/globals.h:18,
 from /usr/include/libxml2/libxml/threads.h:35,
 from /usr/include/libxml2/libxml/xmlmemory.h:218,
 from /usr/include/libxml2/libxml/tree.h:1306,
 from dive.h:37,
 from qt-gui.cpp:12:
/usr/include/libxml2/libxml/encoding.h:31:26: fatal error: 
unicode/ucnv.h: No such file or directory

 #include 
  ^
compilation terminated.
In file included from /usr/include/libxml2/libxml/parser.h:810:0,
 from /usr/include/libxml2/libxml/globals.h:18,
 from /usr/include/libxml2/libxml/threads.h:35,
 from /usr/include/libxml2/libxml/xmlmemory.h:218,
 from /usr/include/libxml2/libxml/tree.h:1306,
 from dive.h:37,
 from divecomputer.cpp:2:
/usr/include/libxml2/libxml/encoding.h:31:26: fatal error: 
unicode/ucnv.h: No such file or directory

 #include 
  ^
compilation terminated.
In file included from /usr/include/libxml2/libxml/parser.h:810:0,
 from /usr/include/libxml2/libxml/globals.h:18,
 from /usr/include/libxml2/libxml/threads.h:35,
 from /usr/include/libxml2/libxml/xmlmemory.h:218,
 from /usr/include/libxml2/libxml/tree.h:1306,
 from ./dive.h:37
 from qt-ui/completionmodels.cpp:2:
/usr/include/libxml2/libxml/encoding.h:31:26: fatal error: 
unicode/ucnv.h: No such file or directory

 #include 
  ^
compilation terminated.
Makefile:1803: recipe for target '.obj/qt-gui.o' failed
make: *** [.obj/qt-gui.o] Error 1
make: *** Waiting for unfinished jobs
Makefile:1726: recipe for target '.obj/divecomputer.o' failed
make: *** [.obj/divecomputer.o] Error 1
Makefile:1863: recipe for target '.obj/completionmodels.o' failed
make: *** [.obj/completionmodels.o] Error 1

Thanks in advance:

Pedro Neves



___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface