Can't locate magic.h on Debian Squeezy

2014-06-16 Thread Jean-Pierre Chrétien
Hello,

I get this when I compile 2.1.x :

cite
=== The following minor problems have been detected by configure.
=== Please check the messages below before running 'make'.
=== (see the section 'Problems' in the INSTALL file)

== cannot find magic.h. Please check that the libmagic library
   is correctly installed on your system.
   Falling back to builtin file format detection.
/cite

I have packages libmagic ans libmagic1 installed, but magic.h lies in

/usr/include/linux/magic.h

Should I make links in /usr/include, or should I instruct the makefiles to
find it there ?

-- 
Jean-Pierre





Re: Can't locate magic.h on Debian Squeezy

2014-06-16 Thread Kornel Benko
Am Montag, 16. Juni 2014 um 12:35:49, schrieb Jean-Pierre Chrétien 
jeanpierre.chret...@free.fr
 Hello,

 I get this when I compile 2.1.x :

 cite
 === The following minor problems have been detected by configure.
 === Please check the messages below before running 'make'.
 === (see the section 'Problems' in the INSTALL file)

 == cannot find magic.h. Please check that the libmagic library
is correctly installed on your system.
Falling back to builtin file format detection.
 /cite

 I have packages libmagic ans libmagic1 installed, but magic.h lies in

 /usr/include/linux/magic.h

 Should I make links in /usr/include, or should I instruct the makefiles to
 find it there ?


No, you should install libmagic-dev.

Kornel

signature.asc
Description: This is a digitally signed message part.


Can't locate magic.h on Debian Squeezy

2014-06-16 Thread Jean-Pierre Chrétien
Hello,

I get this when I compile 2.1.x :


=== The following minor problems have been detected by configure.
=== Please check the messages below before running 'make'.
=== (see the section 'Problems' in the INSTALL file)

== cannot find magic.h. Please check that the libmagic library
   is correctly installed on your system.
   Falling back to builtin file format detection.


I have packages libmagic ans libmagic1 installed, but magic.h lies in

/usr/include/linux/magic.h

Should I make links in /usr/include, or should I instruct the makefiles to
find it there ?

-- 
Jean-Pierre





Re: Can't locate magic.h on Debian Squeezy

2014-06-16 Thread Kornel Benko
Am Montag, 16. Juni 2014 um 12:35:49, schrieb Jean-Pierre Chrétien 

> Hello,
>
> I get this when I compile 2.1.x :
>
> 
> === The following minor problems have been detected by configure.
> === Please check the messages below before running 'make'.
> === (see the section 'Problems' in the INSTALL file)
>
> == cannot find magic.h. Please check that the libmagic library
>is correctly installed on your system.
>Falling back to builtin file format detection.
> 
>
> I have packages libmagic ans libmagic1 installed, but magic.h lies in
>
> /usr/include/linux/magic.h
>
> Should I make links in /usr/include, or should I instruct the makefiles to
> find it there ?
>

No, you should install libmagic-dev.

Kornel

signature.asc
Description: This is a digitally signed message part.