Skip Menu |

This queue is for tickets about the File-LibMagic CPAN distribution.

Report information
The Basics
Id: 36097
Status: rejected
Priority: 0/
Queue: File-LibMagic

People
Owner: Nobody in particular
Requestors: MichaelE [...] dps.siu.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Installation Issue
Date: Thu, 22 May 2008 08:03:51 -0500
To: "'bug-File-LibMagic [...] rt.cpan.org'" <bug-File-LibMagic [...] rt.cpan.org>
From: "Easterly, Michael" <MichaelE [...] dps.siu.edu>
When installing the module via CPAN, it fails; manual install is displayed below: public:/usr/src/packages/SOURCES/File-LibMagic-0.88 # perl Makefile.PL Writing Makefile for File::LibMagic public:/usr/src/packages/SOURCES/File-LibMagic-0.88 # make cc -c -I. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe -DVERSION=\"0.88\" -DXS_VERSION=\"0.88\" -fPIC "-I/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE" LibMagic.c LibMagic.xs:5:19: error: magic.h: No such file or directory LibMagic.xs: In function âXS_File__LibMagic_MagicBufferâ: LibMagic.xs:27: error: âmagic_tâ undeclared (first use in this function) LibMagic.xs:27: error: (Each undeclared identifier is reported only once LibMagic.xs:27: error: for each function it appears in.) LibMagic.xs:27: error: expected â;â before âmâ LibMagic.c:146: warning: ISO C90 forbids mixed declarations and code LibMagic.xs:34: error: âmâ undeclared (first use in this function) LibMagic.xs:34: warning: implicit declaration of function âmagic_openâ LibMagic.xs:34: error: âMAGIC_NONEâ undeclared (first use in this function) LibMagic.xs:38: warning: implicit declaration of function âmagic_loadâ LibMagic.xs:40: warning: implicit declaration of function âmagic_errorâ LibMagic.xs:43: warning: implicit declaration of function âmagic_bufferâ LibMagic.xs:48: warning: implicit declaration of function âmagic_closeâ LibMagic.xs: In function âXS_File__LibMagic_MagicFileâ: LibMagic.xs:57: error: âmagic_tâ undeclared (first use in this function) LibMagic.xs:57: error: expected â;â before âmâ LibMagic.xs:58: warning: ISO C90 forbids mixed declarations and code LibMagic.xs:65: error: âmâ undeclared (first use in this function) LibMagic.xs:65: error: âMAGIC_NONEâ undeclared (first use in this function) LibMagic.xs:74: warning: implicit declaration of function âmagic_fileâ LibMagic.xs: In function âXS_File__LibMagic_magic_openâ: LibMagic.xs:87: error: âmagic_tâ undeclared (first use in this function) LibMagic.xs:87: error: expected â;â before âmâ LibMagic.c:231: warning: ISO C90 forbids mixed declarations and code LibMagic.xs:89: error: âmâ undeclared (first use in this function) LibMagic.xs: In function âXS_File__LibMagic_magic_closeâ: LibMagic.xs:100: error: âmagic_tâ undeclared (first use in this function) LibMagic.xs:100: error: expected â;â before âmâ LibMagic.xs:105: error: âmâ undeclared (first use in this function) LibMagic.xs:105: error: expected â;â before âhandleâ LibMagic.xs: In function âXS_File__LibMagic_magic_loadâ: LibMagic.xs:112: error: âmagic_tâ undeclared (first use in this function) LibMagic.xs:112: error: expected â;â before âmâ LibMagic.xs:113: warning: ISO C90 forbids mixed declarations and code LibMagic.xs:120: error: âmâ undeclared (first use in this function) LibMagic.xs:120: error: expected â;â before âhandleâ LibMagic.xs: In function âXS_File__LibMagic_magic_bufferâ: LibMagic.xs:140: error: âmagic_tâ undeclared (first use in this function) LibMagic.xs:140: error: expected â;â before âmâ LibMagic.xs:141: warning: ISO C90 forbids mixed declarations and code LibMagic.xs:153: error: âmâ undeclared (first use in this function) LibMagic.xs:153: error: expected â;â before âhandleâ LibMagic.xs: In function âXS_File__LibMagic_magic_buffer_offsetâ: LibMagic.xs:169: error: âmagic_tâ undeclared (first use in this function) LibMagic.xs:169: error: expected â;â before âmâ LibMagic.xs:170: warning: ISO C90 forbids mixed declarations and code LibMagic.xs:177: error: âmâ undeclared (first use in this function) LibMagic.xs:177: error: expected â;â before âhandleâ LibMagic.xs:171: warning: unused variable âlenâ LibMagic.xs: In function âXS_File__LibMagic_magic_fileâ: LibMagic.xs:194: error: âmagic_tâ undeclared (first use in this function) LibMagic.xs:194: error: expected â;â before âmâ LibMagic.c:402: warning: ISO C90 forbids mixed declarations and code LibMagic.xs:204: error: âmâ undeclared (first use in this function) LibMagic.xs:204: error: expected â;â before âhandleâ make: *** [LibMagic.o] Error 1
On Thu May 22 09:05:22 2008, MichaelE@dps.siu.edu wrote: Show quoted text
> LibMagic.xs:5:19: error: magic.h: No such file or directory
File::LibMagic depends on the file package from Christos Zoulas. On your system it is not installed in a place where File::LibMagic can find it. A.