whizard is hosted by Hepforge, IPPP Durham

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#76 closed defect (fixed)

too long lines in system_dependencies

Reported by: Juergen Reuter Owned by: Christian Speckner
Priority: P1 Milestone:
Component: configure Version: 2.0.0alpha
Severity: minor Keywords: configure, FORTRAN line lengths
Cc:

Description

When configure determines the PATH variables for WHIZARD (system_dependencies.f90.in -> system_dependencies.f90) it happens for too long absolute paths that the FORTRAN Compiler chokes about this like here: libtool: compile: gfortran45.old -g -O2 -c iso_varying_string.f90 -fPIC -o .libs/iso_varying_string.o libtool: compile: gfortran45.old -g -O2 -c iso_varying_string.f90 -o iso_varying_string.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile gfortran45.old -g -O2 -c -o system_dependencies.lo system_dependencies.f90 libtool: compile: gfortran45.old -g -O2 -c system_dependencies.f90 -fPIC -o .libs/system_dependencies.o system_dependencies.f90:37.7:

"/afs/physik.uni-freiburg.de/home/reuter/Physik/progs/omwhiz/svn/hepforg 1

Error: Unterminated character constant beginning at (1) system_dependencies.f90:39.7:

"/afs/physik.uni-freiburg.de/home/reuter/Physik/progs/omwhiz/svn/hepforg 1

Error: Unterminated character constant beginning at (1) system_dependencies.f90:41.7:

"/afs/physik.uni-freiburg.de/home/reuter/Physik/progs/omwhiz/svn/hepforg 1

Error: Unterminated character constant beginning at (1) system_dependencies.f90:43.7:

"/afs/physik.uni-freiburg.de/home/reuter/Physik/progs/omwhiz/svn/hepforg 1

Error: Unterminated character constant beginning at (1) system_dependencies.f90:45.7:

etc. etc.

Change History (11)

comment:1 Changed 15 years ago by Juergen Reuter

Summary: two long lines in system_dependenciestoo long lines in system_dependencies

comment:2 Changed 15 years ago by Juergen Reuter

Component: coreconfigure
Milestone: v2.0-betav2.0-final
Priority: P3P5
Severity: normalminor

I splitted the BUILDDIR string and the rest (the corresponding subdirs) to two different lines, this helps for the case inside my afs directory. But is not a general solution. Is there one?

comment:3 Changed 15 years ago by kilian

Owner: changed from kilian, jr_reuter to Christian Speckner

comment:4 Changed 15 years ago by Christian Speckner

Status: newassigned

comment:5 Changed 15 years ago by Christian Speckner

Resolution: fixed
Status: assignedclosed

Fixed in r1508 - character strings in system_dependencies.f90 which are indented by 7 blanks now get automatically split by the configure script.

comment:6 Changed 15 years ago by Juergen Reuter

Priority: P5P1
Resolution: fixed
Status: closedreopened

Does not work for me, on a SuSe? 11.1 64 bit machine. Damn it.

comment:7 Changed 15 years ago by Christian Speckner

Works for me (after r1584 which fixed the break I introduced in 1574, sorry, I should have rechecked). What exactly does not work?

comment:8 Changed 15 years ago by Christian Speckner

OK, I just saw that tempfile isn't portable as well - my bad, cpif is using it, so I assumed it was portable. I replaced it with a hardcoded path in r1587. If this fixes the error, please close the ticket.

comment:9 Changed 15 years ago by Juergen Reuter

Works now for SuSe? 11.1. And the MAC OS X is not harmed by it. Closing the ticket. Kippieyayyeah!

comment:10 Changed 15 years ago by Juergen Reuter

Resolution: fixed
Status: reopenedclosed

comment:11 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.0final

Milestone v2.0.0final deleted

Note: See TracTickets for help on using tickets.