Bug #51

ctl-ports doesn't cofigure/compile out of the box on Ubuntu 12.04

Added by Johan Jansson over 4 years ago. Updated over 4 years ago.

Status:ResolvedStart date:02/20/2013
Priority:NormalDue date:
Assignee:Johan Jansson% Done:

100%

Category:-
Target version:-

Description

On Ubuntu 12.04, when running "make install" in for example the dolfin-hpc and petsc directories, a configure error is reported:

--CFLAGS: unexpected operator

and subsequently:

C compiler you provided with -CC= does not work

History

#1 Updated by Johan Jansson over 4 years ago

  • Assignee set to Johan Jansson
  • % Done changed from 0 to 100

Added branch "jjan" which fixes the issues by simplifying the given flags. Also added a "build.sh" script which builds and installs all the packages automatically.

#2 Updated by Johan Jansson over 4 years ago

  • Status changed from New to Resolved

#3 Updated by Aurélien Larcher over 4 years ago

The flags I am using were unfortunately specific to the SUN linker.
I pushed a reworked version to master that I used on a Debian.
Let us see how we can make it more OS agnostic.

#4 Updated by Niclas Jansson over 4 years ago

Aurélien Larcher wrote:

The flags I am using were unfortunately specific to the SUN linker.
I pushed a reworked version to master that I used on a Debian.
Let us see how we can make it more OS agnostic.

One suggestion, use a minimal autoconf script to bootstrap the procedure. Setup CC, linker, flags etc.

#5 Updated by Aurélien Larcher over 4 years ago

Niclas Jansson wrote:

Aurélien Larcher wrote:

The flags I am using were unfortunately specific to the SUN linker.
I pushed a reworked version to master that I used on a Debian.
Let us see how we can make it more OS agnostic.

One suggestion, use a minimal autoconf script to bootstrap the procedure. Setup CC, linker, flags etc.

I second that.

Also available in: Atom PDF