Comments

02/03/05: Problem Installing Horde/Imp On FreeBSD 5.3

I've just had the most frustrating problem trying to install imp on my home server. I ran my "make install" command in the ports tree, and here's what happened after a few minutes.

checking for magic files in default path... not found configure: error: Please reinstall the libmagic distribution ===> Script "configure" failed unexpectedly. Please report the problem to ale@FreeBSD.org [maintainer] and attach the "/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-0.2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1

I finally found the solution at freebsdforums.org, which consists of a single command:

cp /usr/src/contrib/file/magic.h /usr/include/

I wanted to help ensure that anybody else running into this problem finds the answer quickly.



Comments made

I had the same problem.
Better use ln -s /usr/src/contrib/file/magic.h /usr/include/
it's easier when updating.
Soenke

03/12/05 05:37:14

Cool !!!

You've made my day

Thanx

03/17/05 02:47:45

Man do u know you're a god?? I searched for this solution for quite some time...damn finally I can install that shit :)

03/17/05 04:51:00

Awesome. I'm glad this post was useful to you guys. I was pulling my hair out over this problem for hours before finally finding this.
I knew posting about it was a good idea :)

03/17/05 09:21:44

Thanks a lot !

03/21/05 09:22:17

Thanks, this was helpful as well
I was trying to install PHP5-extensions

04/05/05 16:20:34

Thanks.

Saved me a long hunt around the net to find out what the solution to the problem was.

04/24/05 08:55:23

Thanks
made my evening
this problem is actually ongoing in four ports this one net-snmp and the dreaded php-extesnsions that I have had to deal with...... thanks for the info

05/14/05 06:11:19

Thanks for the tip, very helpful. Time-saving help like this is really what the Web's all about.

08/05/05 21:09:35

Thank you so much, I was stumped. If only more people could solve problems in a few words, all of us system admins would have a better life!

08/15/05 15:28:49

Great, great, great thanks =0))))

12/07/05 09:06:42

Add comment

:

:
: