make release - bfd/mybfd.h - no such file

2005-07-08 Thread Jonas Melian
I'm trying build openbsd from source with 'make release'. In the first,
I updated from release to stable.

But i always get the same error.
_
install -C -o root -g bin -m 444  bfd/mybfd.h /usr/dest/usr/include/bfd.h
install: bfd/mybfd.h: No such file or directory
*** Error code 71

Stop in /usr/src/gnu/usr.bin/binutils (line 150 of Makefile.bsd-wrapper).
*** Error code 1

Stop in /usr/src/include (line 88 of Makefile).
*** Error code 1

Stop in /usr/src (line 60 of Makefile).
*** Error code 1

Stop in /usr/src/etc (line 240 of Makefile).
-

I'd seen to this is a failure very common. How fix it?

Thanks in advance!



Re: make release - bfd/mybfd.h - no such file

2005-07-09 Thread Jonas Melian
Kenneth R Westerback wrote:

>man release
>
> Ken
>
>On Fri, Jul 08, 2005 at 05:18:44PM +0100, Jonas Melian wrote:
>  
>
>>I'm trying build openbsd from source with 'make release'. In the first,
>>I updated from release to stable.
>>
>>But i always get the same error.
>>_
>>install -C -o root -g bin -m 444  bfd/mybfd.h /usr/dest/usr/include/bfd.h
>>install: bfd/mybfd.h: No such file or directory
>>*** Error code 71
>>-
>>
>>I'd seen to this is a failure very common. How fix it?
>>
>>
I followed 'http://www.openbsd.org/faq/faq5.html'.

What happens is that 'Building a Release' is in a different point (5.4)
and it seems that it doesn't have anything to do with the previous
point. When it depends on the previous point (5.3.5) for build the release.

That confuses a little. And why I have seen, I haven't been the unique one.



Stripping libraries

2005-07-15 Thread Jonas Melian
The binaries are stripped by default, how set it in /etc/mk.conf for
stripping libraries too?



Ports - Installing in another subdirectory

2005-07-17 Thread Jonas Melian
For installing a port in another subdirectory, i'd used DESTDIR and
DESTDIRNAME but both fails.

I also tried with 'FAKE_FLAGS=${DESTDIRNAME}=/usr/test' and
'PREFIX=${DESTDIR}/usr/local' in /etc/mk.conf but nothing.

sudo make install DESTDIR=/usr/test

I looked at man bsd.port.mk

Any suggestion?



Re: Ports - Installing in another subdirectory

2005-07-18 Thread Jonas Melian

Marc Espie wrote:


On Sun, Jul 17, 2005 at 07:56:11PM +0100, Jonas Melian wrote:
 


For installing a port in another subdirectory, i'd used DESTDIR and
DESTDIRNAME but both fails.

I also tried with 'FAKE_FLAGS=${DESTDIRNAME}=/usr/test' and
'PREFIX=${DESTDIR}/usr/local' in /etc/mk.conf but nothing.

sudo make install DESTDIR=/usr/test

I looked at man bsd.port.mk

Any suggestion?
   



Give more details. I think you're seriously confused. 



 


I built OpenBSD from source optimized in size.
I created a file /etc/mk.conf with the new options for the compiler and 
I run:


DIR_SRC=/usr/test
cd /usr/src/etc && make distrib-dirs DESTDIR=$DIR_SRC
cd /usr/src && nice make build DESTDIR=$DIR_SRC

The new system was built in that directory.

But now I cann't build a port in that subdirectory.



Re: Ports - Installing in another subdirectory

2005-07-23 Thread Jonas Melian

Marc Espie wrote:


On Mon, Jul 18, 2005 at 02:58:40PM +0100, Jonas Melian wrote:
 


Marc Espie wrote:

   


On Sun, Jul 17, 2005 at 07:56:11PM +0100, Jonas Melian wrote:


 


For installing a port in another subdirectory, i'd used DESTDIR and
DESTDIRNAME but both fails.

I also tried with 'FAKE_FLAGS=${DESTDIRNAME}=/usr/test' and
'PREFIX=${DESTDIR}/usr/local' in /etc/mk.conf but nothing.

sudo make install DESTDIR=/usr/test

I looked at man bsd.port.mk

Any suggestion?
 

   

Give more details. I think you're seriously confused. 





 


I built OpenBSD from source optimized in size.
I created a file /etc/mk.conf with the new options for the compiler and 
I run:


DIR_SRC=/usr/test
cd /usr/src/etc && make distrib-dirs DESTDIR=$DIR_SRC
cd /usr/src && nice make build DESTDIR=$DIR_SRC

The new system was built in that directory.

But now I cann't build a port in that subdirectory.
   



What you're trying to do is not supported, your best bet is a chroot.


 


Well, i could simply uncompress the built package in that directory.