Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Aug 23, 2017 8:55 am


FreeBSD ports and pkg, Linux rpm yum and apt, AIX lpp discussions

Author Message
mandrei99
Post  Post subject: FreeBSD error when compiling world "archive_hash.h:129:20: error: sha1.h: No such file or directory"  |  Posted: Tue May 28, 2013 5:41 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 245

Offline
 

FreeBSD error when compiling world "archive_hash.h:129:20: error: sha1.h: No such file or directory"

Obviously this is caused by my mistake of disabling openssl build (/etc/make.conf: WITHOUT_OPENSSL=TRUE) which causes above "sha1"/"sha2" compiling errors.

Code:
/libarchive/archive_write_set_format_mtree.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_pax.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_shar.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_ustar.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_zip.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/filter_fork.c
In file included from /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_read_support_format_xar.c:57:
/usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:129:20: error: sha1.h: No such file or directory
/usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:166:20: error: sha2.h: No such file or directory
In file included from /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_format_mtree.c:42:
/usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:129:20: error: sha1.h: No such file or directory
/usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:166:20: error: sha2.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/lib/libarchive.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


Remove the openssl line in "/etc/make.conf" and compilation goes further.





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "FreeBSD error when compiling world "archive_hash.h:129:20: error: sha1.h: No such file or directory""
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No

debuser

3

30492

Tue Mar 06, 2012 3:03 pm

admin View the latest post

There are no new unread posts for this topic. ffmpeg error

lcsilva

0

514

Tue Nov 20, 2012 1:00 pm

lcsilva View the latest post

There are no new unread posts for this topic. /usr/bin/ld: cannot find -lltdl PHP Compiling fails on Centos/Red Hat

mandrei99

0

1222

Mon Feb 22, 2010 7:08 am

mandrei99 View the latest post

There are no new unread posts for this topic. ipsec-tools: configure: error: OpenSSL version must be 0.9.8s or higher.

admin

0

763

Tue Jan 06, 2015 4:13 pm

admin View the latest post

There are no new unread posts for this topic. FFMPEG svn 24953 compile fails videodev.h:56: error: expected specifier-qualifier-list before ‘ulong

debuser

0

451

Fri Aug 27, 2010 7:01 am

debuser View the latest post

There are no new unread posts for this topic. "checking for libnet_build_ip in -lnet... no"+"ERROR! Libnet library not found"

debuser

1

2350

Tue Dec 06, 2011 10:32 am

admin View the latest post

There are no new unread posts for this topic. How to check which package a specific file belongs to in FreeBSD - "pkg_info -W"

mandrei99

0

1368

Mon Oct 17, 2011 8:39 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to list outdated packages in FreeBSD

mandrei99

0

614

Mon Oct 17, 2011 8:35 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to search for a specific port in FreeBSD

mandrei99

0

429

Mon Oct 17, 2011 8:52 am

mandrei99 View the latest post

There are no new unread posts for this topic. vlc-2.1.5 port fails to compile on FreeBSD 9.2

mandrei99

0

727

Sun Dec 28, 2014 5:32 pm

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO