#9722: PARI/GP build error on Fedora 13
------------------------------+---------------------------------------------
   Reporter:  mpatel          |       Owner:  tbd                               
     
       Type:  defect          |      Status:  needs_review                      
     
   Priority:  blocker         |   Milestone:  sage-4.5.3                        
     
  Component:  packages        |    Keywords:  FLTK, DSO, libstdc++, plotfltk, 
FL/Fl.H
     Author:  Leif Leonhardy  |    Upstream:  N/A                               
     
   Reviewer:  Jeroen Demeyer  |      Merged:                                    
     
Work_issues:                  |  
------------------------------+---------------------------------------------
Description changed by mpatel:

Old description:

> '''New spkg now available:'''
>
>  http://spkg-upload.googlecode.com/files/pari-2.3.5.p4.spkg
>
> This package includes
>
>  * [attachment:trac_9722-pari-2.3.5.p2-p3.patch]
>  * [attachment:trac_9722-pari-2.3.5.p3-p4.patch]
>
> which should apply in succession to the existing `pari-2.3.5.p2.spkg`.
>

> Reported by Georg Grafendorfer on [http://groups.google.com/group/sage-
> release/browse_thread/thread/7abfbeedb07abb53/42338e44dc36ae3f#42338e44dc36ae3f
> sage-release]:
> {{{
> sage does not built on my machine, AMD Phenom(tm) II X4 925, Fedora
> 13,
>
> here are the relevant lines of the log file:
>
> Shall we try to build pari 2.3.5 (released) now (y/n)? [n]
> Ok. Type "make install" when you are ready
> Bye !
> Building and install PARI
> make[2]: Entering directory `/scratch/sage-4.5.3.alpha0/spkg/build/
> pari-2.3.5.p2/src'
> Making gp in Olinux-x86_64
> make[3]: Entering directory `/scratch/sage-4.5.3.alpha0/spkg/build/
> pari-2.3.5.p2/src/Olinux-x86_64'
> File ../src/funclist not changed.
> ../config/genkernel ../src/kernel/x86_64/asm0.h > parilvl0.h
> cat ../src/kernel/gmp/tune.h ../src/kernel/gmp/int.h ../src/kernel/
> none/level1.h > parilvl1.h
> cat parilvl0.h parilvl1.h > pariinl.h
> gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -I../src/language -I/scratch/sage-4.5.3.alpha0/local/
> include -o gp.o ../src/gp/gp.c
> cd ../src/desc && /usr/bin/perl merge_822 ../functions/*/* > def-linux-
> x86_64-6659.tmp
> mv ../src/desc/def-linux-x86_64-6659.tmp ../src/desc/pari.desc
> cd ../src/desc && /usr/bin/perl gen_proto gp pari.desc > gp_init-linux-
> x86_64-6659.tmp
> mv ../src/desc/gp_init-linux-x86_64-6659.tmp ../src/gp/gp_init.h
> gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -I../src/graph -o gp_init.o ../src/gp/gp_init.c
> gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -I../src/language -I/scratch/sage-4.5.3.alpha0/local/
> include -o gp_rl.o ../src/gp/gp_rl.c
> cd ../src/desc && /usr/bin/perl gen_proto highlevel pari.desc >
> highlvl-linux-x86_64-6659.tmp
> mv ../src/desc/highlvl-linux-x86_64-6659.tmp ../src/gp/highlvl.h
> gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -DDL_DFLT_NAME=NULL -o highlvl.o ../src/gp/highlvl.c
> gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -o whatnow.o ../src/gp/whatnow.c
> gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
> I../src/headers -I../src/graph -o plotport.o ../src/graph/plotport.c
> g++ -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -I../
> src/headers -I"/usr/local"/include  -o plotfltk.o ../src/graph/
> plotfltk.c
> ../src/graph/plotfltk.c:27:19: error: FL/Fl.H: No such file or
> directory
> ../src/graph/plotfltk.c:28:26: error: FL/Fl_Window.H: No such file or
> directory
> ../src/graph/plotfltk.c:29:24: error: FL/fl_draw.H: No such file or
> directory
> ../src/graph/plotfltk.c:31: error: expected class-name before '{'
> token
> ../src/graph/plotfltk.c:45: error: 'Fl_Color' does not name a type
> ../src/graph/plotfltk.c:48: error: 'Fl_Color' does not name a type
> ../src/graph/plotfltk.c: In constructor 'Plotter::Plotter(long int*,
> long int*, long int*, long int, const char*)':
> ../src/graph/plotfltk.c:56: error: class 'Plotter' does not have any
> field named 'Fl_Window'
> ../src/graph/plotfltk.c:60: error: 'color' was not declared in this
> scope
> ../src/graph/plotfltk.c:60: error: 'FL_WHITE' was not declared in this
> scope
> ../src/graph/plotfltk.c:61: error: 'FL_BLACK' was not declared in this
> scope
> ../src/graph/plotfltk.c:62: error: 'FL_BLUE' was not declared in this
> scope
> ../src/graph/plotfltk.c:63: error: 'rgb_color' was not declared in
> this scope
> ../src/graph/plotfltk.c:64: error: 'FL_RED' was not declared in this
> scope
> ../src/graph/plotfltk.c:65: error: 'FL_GREEN' was not declared in this
> scope
> ../src/graph/plotfltk.c: In function 'void DrawPoint(void*, long int,
> long int)':
> ../src/graph/plotfltk.c:73: error: 'fl_point' was not declared in this
> scope
> ../src/graph/plotfltk.c: In function 'void DrawLine(void*, long int,
> long int, long int, long int)':
> ../src/graph/plotfltk.c:79: error: 'fl_line' was not declared in this
> scope
> ../src/graph/plotfltk.c: In function 'void DrawRectangle(void*, long
> int, long int, long int, long int)':
> ../src/graph/plotfltk.c:85: error: 'fl_rect' was not declared in this
> scope
> ../src/graph/plotfltk.c: In function 'void DrawPoints(void*, long int,
> plot_points*)':
> ../src/graph/plotfltk.c:92: error: 'fl_point' was not declared in this
> scope
> ../src/graph/plotfltk.c: In function 'void SetForeground(void*, long
> int)':
> ../src/graph/plotfltk.c:97: error: 'Fl_Color' was not declared in this
> scope
> ../src/graph/plotfltk.c:97: error: 'color' was not declared in this
> scope
> ../src/graph/plotfltk.c:97: error: expected primary-expression before
> ')' token
> ../src/graph/plotfltk.c:97: error: expected ';' before 'data'
> ../src/graph/plotfltk.c:98: error: 'fl_color' was not declared in this
> scope
> ../src/graph/plotfltk.c: In function 'void DrawLines(void*, long int,
> plot_points*)':
> ../src/graph/plotfltk.c:105: error: 'fl_line' was not declared in this
> scope
> ../src/graph/plotfltk.c: In function 'void DrawString(void*, long int,
> long int, char*, long int)':
> ../src/graph/plotfltk.c:111: error: 'fl_draw' was not declared in this
> scope
> ../src/graph/plotfltk.c: In member function 'void Plotter::draw()':
> ../src/graph/plotfltk.c:118: error: 'class Plotter' has no member
> named 'w'
> ../src/graph/plotfltk.c:119: error: 'class Plotter' has no member
> named 'h'
> ../src/graph/plotfltk.c:121: error: 'FL_COURIER' was not declared in
> this scope
> ../src/graph/plotfltk.c:121: error: 'fl_font' was not declared in this
> scope
> ../src/graph/plotfltk.c:122: error: 'FL_WHITE' was not declared in
> this scope
> ../src/graph/plotfltk.c:122: error: 'fl_color' was not declared in
> this scope
> ../src/graph/plotfltk.c:123: error: 'class Plotter' has no member
> named 'w'
> ../src/graph/plotfltk.c:123: error: 'class Plotter' has no member
> named 'h'
> ../src/graph/plotfltk.c:123: error: 'fl_rectf' was not declared in
> this scope
> ../src/graph/plotfltk.c:133: error: 'color' was not declared in this
> scope
> ../src/graph/plotfltk.c: In member function 'int
> Plotter::handle(int)':
> ../src/graph/plotfltk.c:140: error: 'FL_PUSH' was not declared in this
> scope
> ../src/graph/plotfltk.c:141: error: 'Fl' has not been declared
> ../src/graph/plotfltk.c:155: error: 'class Plotter' has no member
> named 'x'
> ../src/graph/plotfltk.c:156: error: 'class Plotter' has no member
> named 'y'
> ../src/graph/plotfltk.c:157: error: 'class Plotter' has no member
> named 'w'
> ../src/graph/plotfltk.c:158: error: 'class Plotter' has no member
> named 'h'
> ../src/graph/plotfltk.c:159: error: 'class Plotter' has no member
> named 'fullscreen'
> ../src/graph/plotfltk.c:163: error: 'class Plotter' has no member
> named 'fullscreen_off'
> ../src/graph/plotfltk.c:164: error: 'class Plotter' has no member
> named 'size_range'
> ../src/graph/plotfltk.c: In function 'void rectdraw0(long int*, long
> int*, long int*, long int)':
> ../src/graph/plotfltk.c:188: error: 'Fl' has not been declared
> ../src/graph/plotfltk.c:188: error: 'FL_DOUBLE' was not declared in
> this scope
> ../src/graph/plotfltk.c:188: error: 'FL_INDEX' was not declared in
> this scope
> ../src/graph/plotfltk.c:190: error: 'class Plotter' has no member
> named 'size_range'
> ../src/graph/plotfltk.c:191: error: 'class Plotter' has no member
> named 'box'
> ../src/graph/plotfltk.c:191: error: 'FL_FLAT_BOX' was not declared in
> this scope
> ../src/graph/plotfltk.c:192: error: 'class Plotter' has no member
> named 'end'
> ../src/graph/plotfltk.c:193: error: 'class Plotter' has no member
> named 'show'
> ../src/graph/plotfltk.c:194: error: 'Fl' has not been declared
> make[3]: *** [plotfltk.o] Error 1
> make[3]: Leaving directory `/scratch/sage-4.5.3.alpha0/spkg/build/
> pari-2.3.5.p2/src/Olinux-x86_64'
> make[2]: *** [gp] Error 2
> make[2]: Leaving directory `/scratch/sage-4.5.3.alpha0/spkg/build/
> pari-2.3.5.p2/src'
> Error building GP
> }}}
> There's now a [http://groups.google.com/group/sage-
> release/browse_thread/thread/e1fe601e7e184479/e9a241101d3fb776#e9a241101d3fb776
> dedicated thread].

New description:

 To review/test this ticket, install only

  http://spkg-upload.googlecode.com/files/pari-2.3.5.p4.spkg

 This package includes

  * [attachment:trac_9722-pari-2.3.5.p2-p3.patch]
  * [attachment:trac_9722-pari-2.3.5.p3-p4.patch]

 which should apply in succession to the existing `pari-2.3.5.p2.spkg`.
 There are no Sage library patches to apply.

 Reported by Georg Grafendorfer on [http://groups.google.com/group/sage-
 release/browse_thread/thread/7abfbeedb07abb53/42338e44dc36ae3f#42338e44dc36ae3f
 sage-release]:
 {{{
 sage does not built on my machine, AMD Phenom(tm) II X4 925, Fedora
 13,

 here are the relevant lines of the log file:

 Shall we try to build pari 2.3.5 (released) now (y/n)? [n]
 Ok. Type "make install" when you are ready
 Bye !
 Building and install PARI
 make[2]: Entering directory `/scratch/sage-4.5.3.alpha0/spkg/build/
 pari-2.3.5.p2/src'
 Making gp in Olinux-x86_64
 make[3]: Entering directory `/scratch/sage-4.5.3.alpha0/spkg/build/
 pari-2.3.5.p2/src/Olinux-x86_64'
 File ../src/funclist not changed.
 ../config/genkernel ../src/kernel/x86_64/asm0.h > parilvl0.h
 cat ../src/kernel/gmp/tune.h ../src/kernel/gmp/int.h ../src/kernel/
 none/level1.h > parilvl1.h
 cat parilvl0.h parilvl1.h > pariinl.h
 gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
 I../src/headers -I../src/language -I/scratch/sage-4.5.3.alpha0/local/
 include -o gp.o ../src/gp/gp.c
 cd ../src/desc && /usr/bin/perl merge_822 ../functions/*/* > def-linux-
 x86_64-6659.tmp
 mv ../src/desc/def-linux-x86_64-6659.tmp ../src/desc/pari.desc
 cd ../src/desc && /usr/bin/perl gen_proto gp pari.desc > gp_init-linux-
 x86_64-6659.tmp
 mv ../src/desc/gp_init-linux-x86_64-6659.tmp ../src/gp/gp_init.h
 gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
 I../src/headers -I../src/graph -o gp_init.o ../src/gp/gp_init.c
 gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
 I../src/headers -I../src/language -I/scratch/sage-4.5.3.alpha0/local/
 include -o gp_rl.o ../src/gp/gp_rl.c
 cd ../src/desc && /usr/bin/perl gen_proto highlevel pari.desc >
 highlvl-linux-x86_64-6659.tmp
 mv ../src/desc/highlvl-linux-x86_64-6659.tmp ../src/gp/highlvl.h
 gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
 I../src/headers -DDL_DFLT_NAME=NULL -o highlvl.o ../src/gp/highlvl.c
 gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
 I../src/headers -o whatnow.o ../src/gp/whatnow.c
 gcc  -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -
 I../src/headers -I../src/graph -o plotport.o ../src/graph/plotport.c
 g++ -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer    -I. -I../
 src/headers -I"/usr/local"/include  -o plotfltk.o ../src/graph/
 plotfltk.c
 ../src/graph/plotfltk.c:27:19: error: FL/Fl.H: No such file or
 directory
 ../src/graph/plotfltk.c:28:26: error: FL/Fl_Window.H: No such file or
 directory
 ../src/graph/plotfltk.c:29:24: error: FL/fl_draw.H: No such file or
 directory
 ../src/graph/plotfltk.c:31: error: expected class-name before '{'
 token
 ../src/graph/plotfltk.c:45: error: 'Fl_Color' does not name a type
 ../src/graph/plotfltk.c:48: error: 'Fl_Color' does not name a type
 ../src/graph/plotfltk.c: In constructor 'Plotter::Plotter(long int*,
 long int*, long int*, long int, const char*)':
 ../src/graph/plotfltk.c:56: error: class 'Plotter' does not have any
 field named 'Fl_Window'
 ../src/graph/plotfltk.c:60: error: 'color' was not declared in this
 scope
 ../src/graph/plotfltk.c:60: error: 'FL_WHITE' was not declared in this
 scope
 ../src/graph/plotfltk.c:61: error: 'FL_BLACK' was not declared in this
 scope
 ../src/graph/plotfltk.c:62: error: 'FL_BLUE' was not declared in this
 scope
 ../src/graph/plotfltk.c:63: error: 'rgb_color' was not declared in
 this scope
 ../src/graph/plotfltk.c:64: error: 'FL_RED' was not declared in this
 scope
 ../src/graph/plotfltk.c:65: error: 'FL_GREEN' was not declared in this
 scope
 ../src/graph/plotfltk.c: In function 'void DrawPoint(void*, long int,
 long int)':
 ../src/graph/plotfltk.c:73: error: 'fl_point' was not declared in this
 scope
 ../src/graph/plotfltk.c: In function 'void DrawLine(void*, long int,
 long int, long int, long int)':
 ../src/graph/plotfltk.c:79: error: 'fl_line' was not declared in this
 scope
 ../src/graph/plotfltk.c: In function 'void DrawRectangle(void*, long
 int, long int, long int, long int)':
 ../src/graph/plotfltk.c:85: error: 'fl_rect' was not declared in this
 scope
 ../src/graph/plotfltk.c: In function 'void DrawPoints(void*, long int,
 plot_points*)':
 ../src/graph/plotfltk.c:92: error: 'fl_point' was not declared in this
 scope
 ../src/graph/plotfltk.c: In function 'void SetForeground(void*, long
 int)':
 ../src/graph/plotfltk.c:97: error: 'Fl_Color' was not declared in this
 scope
 ../src/graph/plotfltk.c:97: error: 'color' was not declared in this
 scope
 ../src/graph/plotfltk.c:97: error: expected primary-expression before
 ')' token
 ../src/graph/plotfltk.c:97: error: expected ';' before 'data'
 ../src/graph/plotfltk.c:98: error: 'fl_color' was not declared in this
 scope
 ../src/graph/plotfltk.c: In function 'void DrawLines(void*, long int,
 plot_points*)':
 ../src/graph/plotfltk.c:105: error: 'fl_line' was not declared in this
 scope
 ../src/graph/plotfltk.c: In function 'void DrawString(void*, long int,
 long int, char*, long int)':
 ../src/graph/plotfltk.c:111: error: 'fl_draw' was not declared in this
 scope
 ../src/graph/plotfltk.c: In member function 'void Plotter::draw()':
 ../src/graph/plotfltk.c:118: error: 'class Plotter' has no member
 named 'w'
 ../src/graph/plotfltk.c:119: error: 'class Plotter' has no member
 named 'h'
 ../src/graph/plotfltk.c:121: error: 'FL_COURIER' was not declared in
 this scope
 ../src/graph/plotfltk.c:121: error: 'fl_font' was not declared in this
 scope
 ../src/graph/plotfltk.c:122: error: 'FL_WHITE' was not declared in
 this scope
 ../src/graph/plotfltk.c:122: error: 'fl_color' was not declared in
 this scope
 ../src/graph/plotfltk.c:123: error: 'class Plotter' has no member
 named 'w'
 ../src/graph/plotfltk.c:123: error: 'class Plotter' has no member
 named 'h'
 ../src/graph/plotfltk.c:123: error: 'fl_rectf' was not declared in
 this scope
 ../src/graph/plotfltk.c:133: error: 'color' was not declared in this
 scope
 ../src/graph/plotfltk.c: In member function 'int
 Plotter::handle(int)':
 ../src/graph/plotfltk.c:140: error: 'FL_PUSH' was not declared in this
 scope
 ../src/graph/plotfltk.c:141: error: 'Fl' has not been declared
 ../src/graph/plotfltk.c:155: error: 'class Plotter' has no member
 named 'x'
 ../src/graph/plotfltk.c:156: error: 'class Plotter' has no member
 named 'y'
 ../src/graph/plotfltk.c:157: error: 'class Plotter' has no member
 named 'w'
 ../src/graph/plotfltk.c:158: error: 'class Plotter' has no member
 named 'h'
 ../src/graph/plotfltk.c:159: error: 'class Plotter' has no member
 named 'fullscreen'
 ../src/graph/plotfltk.c:163: error: 'class Plotter' has no member
 named 'fullscreen_off'
 ../src/graph/plotfltk.c:164: error: 'class Plotter' has no member
 named 'size_range'
 ../src/graph/plotfltk.c: In function 'void rectdraw0(long int*, long
 int*, long int*, long int)':
 ../src/graph/plotfltk.c:188: error: 'Fl' has not been declared
 ../src/graph/plotfltk.c:188: error: 'FL_DOUBLE' was not declared in
 this scope
 ../src/graph/plotfltk.c:188: error: 'FL_INDEX' was not declared in
 this scope
 ../src/graph/plotfltk.c:190: error: 'class Plotter' has no member
 named 'size_range'
 ../src/graph/plotfltk.c:191: error: 'class Plotter' has no member
 named 'box'
 ../src/graph/plotfltk.c:191: error: 'FL_FLAT_BOX' was not declared in
 this scope
 ../src/graph/plotfltk.c:192: error: 'class Plotter' has no member
 named 'end'
 ../src/graph/plotfltk.c:193: error: 'class Plotter' has no member
 named 'show'
 ../src/graph/plotfltk.c:194: error: 'Fl' has not been declared
 make[3]: *** [plotfltk.o] Error 1
 make[3]: Leaving directory `/scratch/sage-4.5.3.alpha0/spkg/build/
 pari-2.3.5.p2/src/Olinux-x86_64'
 make[2]: *** [gp] Error 2
 make[2]: Leaving directory `/scratch/sage-4.5.3.alpha0/spkg/build/
 pari-2.3.5.p2/src'
 Error building GP
 }}}
 There's now a [http://groups.google.com/group/sage-
 release/browse_thread/thread/e1fe601e7e184479/e9a241101d3fb776#e9a241101d3fb776
 dedicated thread].

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9722#comment:54>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to