Re: numerous gcc installations

2009-01-11 Thread Michel Talon
Nikolaj Thygesen wrote:
Could anyone please explain to me whether it's really required to 
have two extra versions of gcc installed. I Recently upgraded 
py25-numpy, which in turn pulled in gcc-4.2.5_20081126 as a 
dependency. A few days ago  blas refused to compile because:

This occurred to me recently. Fortunately you can find precompiled
blas, scipy and numpy (pkg_add -r py-numpy works). But i was out of luck
with matplotlib, which required pkg_adding gcc-42 and then compiling
tons of stuff. One of them (agg, i think, requires DISPLAY to be set
and accessible in the configure script !!!) hence breaks the build for
matplotlib.


-- 

Michel TALON

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


Re: numerous gcc installations

2009-01-11 Thread Stephen Montgomery-Smith

Nikolaj Thygesen wrote:

Hi list,

   Could anyone please explain to me whether it's really required to 
have two extra versions of gcc installed. I Recently upgraded 
py25-numpy, which in turn pulled in gcc-4.2.5_20081126 as a 
dependency. A few days ago  blas refused to compile because:


===Verifying reinstall for gfortran43 in /usr/ports/lang/gcc43
Making GCC 4.3.3 for FreeBSD 7.1  target=i386-portbld-freebsd7.1
You need to increase the datasize limit to at least 70 (and set
kern.maxdsiz=734003200 in /boot/loader.conf) to build with Java
support.
*** Error code 1

... so if it wasn't for these missing settings, I would now be the proud 
owner of two extra gcc installations, gcc-4.2.5 and gcc-4.3.3. Is 
this correct??? blas is required by py-num, which then effectively 
requires the two gcc's.


   br - Nikolaj


A few days ago, gcc-4.3 became the default fortran compiler for the 
ports.  Go ahead and erase the gcc-4.2 compiler - create the gcc-4.3 
compiler, and everything after that will be fine.


If you don't want to increase kern.maxdsiz, then it looks like setting 
WITHOUT_JAVA will stop that error occurring.


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


Re: numerous gcc installations

2009-01-11 Thread Stephen Montgomery-Smith

Robert Huff wrote:

Hello:


 A few days ago, gcc-4.3 became the default fortran compiler for
 the ports.  Go ahead and erase the gcc-4.2 compiler - create the
 gcc-4.3 compiler, and everything after that will be fine.


1) What is the realtionship between this gcc and the gcc used
to compile the system?
2) Do you know why this isn't noted in /usr/ports/UPDATING?


Answers:

2) You make a good point.  Why don't you raise this on po...@freebsd? 
This should be corrected.  In fact, I am going to copy this to 
po...@freebsd.


1) I think that in most cases, the only reason why gcc is brought in is 
because the gcc that is in the base system does not include a fortran 
compiler.  So any port that uses fortran (e.g. lapack, etc) has to 
install a fortran compiler.


Having said all this, why doesn't bsd.gcc.mk first check to see if 
gfortran42 was already installed, and then only install gfortran43 if a 
fortran is needed?


But I have the impression that quite a few changes have been made to 
bsd.gcc.mk recently, so some mistakes are understandable.


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