dragonfly-2010Q3 pkg_rr nse_openssl.cc:11:25: error: openssl/md2.h: No such file or directory
Siju George
sgeorge.ml at gmail.com
Mon Nov 1 21:12:42 PDT 2010
On Mon, Nov 1, 2010 at 6:03 PM, Joe Talbott <josepht at cstone.net> wrote:
>
>
> Did you first run?:
>
> bmake patch
>
yes
==============================================
dfly-vmsrv# pwd
/usr/pkgsrc/net/nmap
dfly-vmsrv# bmake clean patch
===> Cleaning for nmap-5.35dc1nb1
dfly-vmsrv# patch < /var/isos/nmap.diff
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- work/nmap-5.35DC1/nse_openssl.cc 2010-03-28 17:18:02 -0400
|+++ work/nmap-5.35DC1/nse_openssl.cc.new 2010-10-29 11:34:08 -0400
--------------------------
File to patch:
===============================================
I guess it is because there is nor "work" folder after 'bmake clean'
> if that doesn't work, just make sure it patches work/nmap-<version>/nse_openssl.cc.
>
> Note that if you've set your pkgsrc to build in another directory you
> will need to point it to that location.
>
After the build failed I did
==========================================
dfly-vmsrv# cd /usr/pkgobj/bootstrap/work/pkgsrc/net/nmap
dfly-vmsrv# patch < /var/isos/nmap.diff
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- work/nmap-5.35DC1/nse_openssl.cc 2010-03-28 17:18:02 -0400
|+++ work/nmap-5.35DC1/nse_openssl.cc.new 2010-10-29 11:34:08 -0400
--------------------------
Patching file work/nmap-5.35DC1/nse_openssl.cc using Plan A...
Hunk #1 succeeded at 8.
Hunk #2 succeeded at 218.
Hunk #3 succeeded at 504.
done
dfly-vmsrv#
============================================
after this 'bmake update' succeeded in /usr/pkgsrc/net/nmap :-)
====================================================================
gmake[1]: Leaving directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/nmap/work/nmap-5.35DC1/nping'
NMAP SUCCESSFULLY INSTALLED
=> Automatic manual page handling
=> Registering installation for nmap-5.35dc1nb1
nmap-5.35dc1nb1 requires installed package libpcap-1.0.0nb2
nmap-5.35dc1nb1 requires installed package pcre-8.10
if /usr/pkg/sbin/pkg_info -K /var/db/pkg -qe "nmap-[0-9]*"; then
/usr/pkg/sbin/pkg_info -K /var/db/pkg -qr "nmap-[0-9]*" >
/usr/pkgobj/bootstrap/work/pkgsrc/net/nmap/work/.DLIST; else
/usr/bin/touch /usr/pkgobj/bootstrap/work/pkgsrc/net/nmap/work/.DLIST;
fi
===> Cleaning for nmap-5.35dc1nb1
====================================================================
Thanks a million :-D
could you please commit this ti git?
Thanks again
--Siju
More information about the Users
mailing list