bugPSPP - Bugs: bug #33585, ./configure --without-gui fails

 
 

bug #33585: ./configure --without-gui fails

Submitted by:  John Darrington <jmd>
Submitted on:  Fri 17 Jun 2011 03:25:43 PM UTC  
 
Category: Compilation/PortabilitySeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: Before 0.8.0
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 06 Sep 2011 07:56:15 PM UTC, comment #1:

I moved the gl_NEXT_HEADERS outside of the conditional

John Darrington <jmd>
Project Administrator
Fri 17 Jun 2011 03:25:43 PM UTC, original submission:

If the source is configured with the --without-gui option, then the subsequent build step fails. The offending line seems to be this one from configure.ac
gl_NEXT_HEADERS([gtk/gtk.h])

Build errors below:

In file included from ../../gl/allocator.c:4:
./stdlib.h:35:3: error: invalid preprocessing directive #"///usr/include/stdlib.h"
In file included from ./stdlib.h:90,
from ../../gl/allocator.c:4:
./unistd.h:44:4: error: invalid preprocessing directive #"///usr/include/unistd.h"
In file included from ./unistd.h:68,
from ./stdlib.h:90,
from ../../gl/allocator.c:4:
./stdio.h:44:3: error: invalid preprocessing directive #"///usr/include/stdio.h"
In file included from /usr/include/sys/types.h:133,
from ./stdio.h:58,
from ./unistd.h:68,
from ./stdlib.h:90,
from ../../gl/allocator.c:4:
./time.h:34:4: error: invalid preprocessing directive #"///usr/include/time.h"
In file included from /usr/include/sys/select.h:44,
from /usr/include/sys/types.h:220,
from ./stdio.h:58,
from ./unistd.h:68,
from ./stdlib.h:90,
from ../../gl/allocator.c:4:
./time.h:34:4: error: invalid preprocessing directive #"///usr/include/time.h"
In file included from ./unistd.h:68,
from ./stdlib.h:90,
from ../../gl/allocator.c:4:
./stdio.h:472: error: expected ‘)’ before ‘*’ token
./stdio.h:496: error: expected ‘)’ before ‘*’ token
./stdio.h:566: error: expected ‘)’ before ‘*’ token
./stdio.h:605: error: expected ‘)’ before ‘*’ token
./stdio.h:765: error: expected ‘)’ before ‘*’ token
./stdio.h:784: error: expected ‘)’ before ‘*’ token
./stdio.h:809: error: ‘rpl_fseek’ undeclared here (not in a function)
./stdio.h:809: warning: type defaults to ‘int’ in declaration of ‘rpl_fseek’
./stdio.h:887: error: ‘ftell’ undeclared here (not in a function)
./stdio.h:887: warning: type defaults to ‘int’ in declaration of ‘ftell’
./stdio.h:1048: error: ‘gets’ undeclared here (not in a function)
./stdio.h:1048: warning: type defaults to ‘int’ in declaration of ‘gets’
./stdio.h:1504: error: expected ‘)’ before ‘*’ token
../../gl/allocator.c:5: error: ‘malloc’ undeclared here (not in a function)
../../gl/allocator.c:5: error: ‘realloc’ undeclared here (not in a function)
../../gl/allocator.c:5: error: ‘free’ undeclared here (not in a function)
make[4]: *** [allocator.lo] Fehler 1
make[4]: Leaving directory `/home/john/pspp-x/BUILD/gl'

John Darrington <jmd>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jmd (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 06 Sep 2011 07:56:15 PM UTCjmdStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 17 Jun 2011 05:36:20 PM UTCjmdReleaseNone=>Before 0.8.0

    Back to the top


    Powered by Savane 3.1-cleanup1