On 04/25/14 09:29, Pablo Méndez Hernández wrote: > On Thu, Apr 24, 2014 at 6:32 PM, Blaise Hizded <bla...@ovh.fr> wrote: >> On 04/24/14 17:38, Pablo Méndez Hernández wrote: >>> Hi Blaise, >>> >>> On Thu, Apr 24, 2014 at 4:03 PM, Blaise Hizded <bla...@ovh.fr> wrote: >>>> Hello, >>>> I just installed a fresh OpenBSD 5.4 release and I want to apply all the >>>> errata security patch. >>>> Everything worked well except the 004 patch for Nginx. >>>> I apply the patch without problem, but when I try to recompile: >>>> >>>> # rm -rf >>>> /usr/obj/* >>>> # cd /usr/src/ >>>> # make -f Makefile.bsd-wrapper obj >>>> /usr/src/usr.sbin/nginx/obj -> /usr/obj/usr.sbin/nginx >>>> # make -f Makefile.bsd-wrapper depend >>>> # Nothing here so far... >>>> # make -f Makefile.bsd-wrapper >>>> /usr/bin/lndir -s -e obj -e obj.i386 -e Makefile.bsd-wrapper >>>> /usr/src/usr.sbin/nginx >>>> checking for OS >>>> + OpenBSD 5.4 i386 >>>> checking for C compiler ... found but is not working >>>> >>>> configure: error: C compiler cc is not found >>> Which packages did you choose at install time? >>> >> I didn't install the X sets. Everything else are installed (comp54.tgz...) > Can you check if /usr/bin/cc is there? > > Hello, Yes cc is here and it's GCC 4.2.1
$ ls /usr/bin/cc /usr/bin/cc $ /usr/bin/cc -v Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd5.4/4.2.1/specs Target: i386-unknown-openbsd5.4 Configured with: OpenBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719