Re: make error compiling 'src/e2_bookmark.c'

  • From: Charles A Edwards <eslrahc@xxxxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Mon, 12 Apr 2010 22:00:05 -0400

On Tue, 13 Apr 2010 11:30:59 +1000
Ben Harrison wrote:

> I am on compiling from source emelfm2-0.7.2.
> 
> Error when running 'make' is:
> compiling 'src/e2_bookmark.c'
> In file included from src/utils/e2_hook.h:24,
>                  from src/emelfm2.h:473,
>                  from src/e2_bookmark.h:24,
>                  from src/e2_bookmark.c:27:
> src/utils/e2_utils.h:26:20: error: magic.h: No such file or directory
> In file included from src/utils/e2_hook.h:24,
>                  from src/emelfm2.h:473,
>                  from src/e2_bookmark.h:24,
>                  from src/e2_bookmark.c:27:
> src/utils/e2_utils.h:87: error: expected specifier-qualifier-list
> before ‘magic_t’
> make: *** [objs/src/e2_bookmark.o] Error 1


The needed magic.h is included in 'file'
 http://www.darwinsys.com/file/

It should/is available in you distro
most likely as libmagic-devel or file-devel. 


    Charles

-- 
Be security conscious -- National defense is at stake.
----------------------
Mandriva Linux release 2010.1 (Cooker) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
2.6.33.2-tmb-server-1mdv x86_64
----------------------

Other related posts: