Cannot build perl on FreeBSD 8.0

2010-02-07 Thread Denis
I updated from 7.2 to 8.0 from source.
No I updated ports tree and try to update perl (from ports), but get
the next error (version does not matter, 5.8, 5.10 give the same
error):

 CCCMD =  cc -DPERL_CORE -c
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include
-O2 -pipe -fno-strict-aliasing -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wc++-compat
rm -f opmini.c
op.c opmini.c
op.c:No such file or directory
*** Error code 1

Stop in /usr/ports/lang/perl5.8/work/perl-5.8.9.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.

---
Since there is no such error (tried to search on goolge but without
luck) it seems that I did wrong something/ But cannot find out what -
everything seems to work fine.
May be someone faced with similar problem, what can I do to compile perl?

Best regards,
Denis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cannot build perl on FreeBSD 8.0

2010-02-07 Thread Warren Block

On Sun, 7 Feb 2010, Denis wrote:


I updated from 7.2 to 8.0 from source.
No I updated ports tree and try to update perl (from ports), but get
the next error (version does not matter, 5.8, 5.10 give the same
error):


Did you rebuild all your ports after the upgrade from 7.2 to 8.0?
Do you have any extra settings in /etc/make.conf?

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cannot build perl on FreeBSD 8.0

2010-02-07 Thread Denis
On Sun, Feb 7, 2010 at 8:03 PM, Warren Block wbl...@wonkity.com wrote:
 Did you rebuild all your ports after the upgrade from 7.2 to 8.0?
 Do you have any extra settings in /etc/make.conf?

Not yet. I'm trying to do this - a lot of ports depend on perl, and I
get stuck with it.
No, there are no any extra settings in /etc/make.conf.

Denis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cannot build perl on FreeBSD 8.0

2010-02-07 Thread Warren Block

On Sun, 7 Feb 2010, Denis wrote:


On Sun, Feb 7, 2010 at 8:03 PM, Warren Block wbl...@wonkity.com wrote:

Did you rebuild all your ports after the upgrade from 7.2 to 8.0?
Do you have any extra settings in /etc/make.conf?


Not yet. I'm trying to do this - a lot of ports depend on perl, and I
get stuck with it.
No, there are no any extra settings in /etc/make.conf.


You may be running into the situation where something Perl needs can't 
run because of mixed libraries.


For the 7-8 major version upgrade, it's usually easier and faster to 
save your pkg_info output, backup /usr/local/etc, and pkg_delete 
everything.  Then update the ports tree and start installing ports from 
scratch.


There may be a way to automate that, like feeding the saved pkg_info 
output to portupgrade.  I haven't done it often enough to investigate.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cannot build perl on FreeBSD 8.0

2010-02-07 Thread Robert Huff

Warren Block writes:

   Not yet. I'm trying to do this - a lot of ports depend on perl, and I
   get stuck with it.
   No, there are no any extra settings in /etc/make.conf.
  
  You may be running into the situation where something Perl needs can't 
  run because of mixed libraries.
  
  For the 7-8 major version upgrade, it's usually easier and faster to 
  save your pkg_info output, backup /usr/local/etc, and pkg_delete 
  everything.  Then update the ports tree and start installing ports from 
  scratch.
  
  There may be a way to automate that, like feeding the saved pkg_info 
  output to portupgrade.  I haven't done it often enough to investigate.

pkg_sort, which is part of portupgrade, is a useful tool.



Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cannot build perl on FreeBSD 8.0

2010-02-07 Thread Warren Block

On Sun, 7 Feb 2010, Robert Huff wrote:


Warren Block writes:


 Not yet. I'm trying to do this - a lot of ports depend on perl, and I
 get stuck with it.
 No, there are no any extra settings in /etc/make.conf.

 You may be running into the situation where something Perl needs can't
 run because of mixed libraries.

 For the 7-8 major version upgrade, it's usually easier and faster to
 save your pkg_info output, backup /usr/local/etc, and pkg_delete
 everything.  Then update the ports tree and start installing ports from
 scratch.

 There may be a way to automate that, like feeding the saved pkg_info
 output to portupgrade.  I haven't done it often enough to investigate.


pkg_sort, which is part of portupgrade, is a useful tool.


That's pretty cool:

pkg_info | cut -f 1 -d' ' | pkg_sort

You could just start installing ports at the bottom and work upwards.

The only thing that makes me wonder is that list shows wine above 
xorg-server on my system.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cannot build perl on FreeBSD 8.0

2010-02-07 Thread Denis
On Sun, Feb 7, 2010 at 10:36 PM, Warren Block wbl...@wonkity.com wrote:
  You may be running into the situation where something Perl needs can't
  run because of mixed libraries.

  For the 7-8 major version upgrade, it's usually easier and faster to
  save your pkg_info output, backup /usr/local/etc, and pkg_delete
  everything.  Then update the ports tree and start installing ports from
  scratch.

  There may be a way to automate that, like feeding the saved pkg_info
  output to portupgrade.  I haven't done it often enough to investigate.

        pkg_sort, which is part of portupgrade, is a useful tool.

 That's pretty cool:

 pkg_info | cut -f 1 -d' ' | pkg_sort

 You could just start installing ports at the bottom and work upwards.

 The only thing that makes me wonder is that list shows wine above
 xorg-server on my system.

Thank you for your help and useful tips!

The problem was easy - long time ago I made a link in /bin/basename to
/usr/compat/linux/bin/basename .
There for during perl config wrong basename was chosen and lead to the error.

Best regards,
Denis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org