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

 
 

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

Submitter:  John Darrington <jmd>
Submitted:  Fri 17 Jun 2011 03:25:43 PM UTC
   
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  Before 0.8.0
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

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

I moved the gl_NEXT_HEADERS outside of the conditional

John Darrington <jmd>
Group 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-06 jmd StatusNone Fixed
        Open/ClosedOpen Closed
    2011-06-17 jmd ReleaseNone Before 0.8.0

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code