Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Compile efltk on Debian testing

eFLTK
Grey_Ash
2010-01-12
2013-04-05
  • Grey_Ash
    Grey_Ash
    2010-01-12

    Hello all,
         I'm trying to compile efltk on Debian testing. I run into the following error however:

    $ ./emake                                                                                                        (01-12 14:05)
    Checking make program to use ... make.                                                                                                                                             
    make[1]: Entering directory `/home/greyash/software/equinox_desktop_environment/efltk/src'                                                                                         
    make[2]: Entering directory `/home/greyash/software/equinox_desktop_environment/efltk/src/core'                                                                                    
    Compiling Fl.cpp...                                                                                                                                                                
    Fl.cpp:52: warning: deprecated conversion from string constant to char*’                                                                                                          
    Fl.cpp: In function void fl_fix_focus():                                                                                                                                         
    Fl.cpp:487: warning: suggest parentheses around && within ||                                                                                                                       
    Compiling Fl_Bitmap.cpp...                                                                                                                                                         
    Compiling Fl_Bmp.cpp...                                                                                                                                                            
    Fl_Bmp.cpp: In function bool bmp_create(Fl_IO&, uint8*&, Fl_PixelFormat&, int&, int&):                                                                                           
    Fl_Bmp.cpp:104: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Bmp.cpp:207: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Bmp.cpp:269: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Bmp.cpp:281: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Bmp.cpp: At global scope:                                                                                                                                                       
    Fl_Bmp.cpp:361: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Bmp.cpp:361: warning: deprecated conversion from string constant to char*’                                                                                                     
    Compiling Fl_Boxtype.cpp...                                                                                                                                                        
    Compiling Fl_Buffer.cpp...                                                                                                                                                         
    Compiling Fl_Config.cpp...                                                                                                                                                         
    Fl_Config.cpp: In function char* get_sys_dir():                                                                                                                                  
    Fl_Config.cpp:92: warning: deprecated conversion from string constant to char*’                                                                                                   
    Compiling Fl_Data_Fields.cpp...                                                                                                                                                    
    Compiling Fl_Data_Source.cpp...                                                                                                                                                    
    Compiling Fl_Date_Time.cpp...                                                                                                                                                      
    Fl_Date_Time.cpp: In static member function static bool Fl_Date_Time::is_leap_year(short int):                                                                                   
    Fl_Date_Time.cpp:208: warning: suggest parentheses around && within ||                                                                                                             
    Compiling Fl_Exception.cpp...                                                                                                                                                      
    Compiling Fl_Gif.cpp...                                                                                                                                                            
    Fl_Gif.cpp: In function int DoExtension(Fl_IO&, int):                                                                                                                            
    Fl_Gif.cpp:265: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Gif.cpp:268: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Gif.cpp:271: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Gif.cpp:275: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Gif.cpp: At global scope:                                                                                                                                                       
    Fl_Gif.cpp:585: warning: deprecated conversion from string constant to char*’                                                                                                     
    Fl_Gif.cpp:585: warning: deprecated conversion from string constant to char*’                                                                                                     
    Compiling Fl_Group.cpp...                                                                                                                                                          
    Compiling Fl_Image.cpp...                                                                                                                                                          
    Fl_Image.cpp: In function uint8* render_box(int, int, int, unsigned int, Fl_Colormap*, uint8*):                                                                                  
    Fl_Image.cpp:233: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:234: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Fl_Image.cpp:244: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                                      
    Compiling Fl_Image_Filter.cpp...                                                                                                                                                   
    Compiling Fl_Image_IO.cpp...                                                                                                                                                       
    Compiling Fl_Lists.cpp...                                                                                                                                                          
    Compiling Fl_Maps.cpp...                                                                                                                                                           
    Compiling Fl_Packed_Strings.cpp...                                                                                                                                                 
    Compiling Fl_Pixmap.cpp...                                                                                                                                                         
    Compiling Fl_Renderer.cpp...                                                                                                                                                       
    Compiling Fl_Socket.cpp...                                                                                                                                                         
    Compiling Fl_String.cpp...                                                                                                                                                         
    Compiling Fl_String_List.cpp...                                                                                                                                                    
    Compiling Fl_Style.cpp...                                                                                                                                                          
    Compiling Fl_Style_Set.cpp...                                                                                                                                                      
    Compiling Fl_Thread.cpp...                                                                                                                                                         
    Compiling Fl_Translator.cpp...                                                                                                                                                     
    Compiling Fl_Util.cpp...                                                                                                                                                           
    Fl_Util.cpp: In function int fl_start_child_process(char*, bool):                                                                                                                
    Fl_Util.cpp:250: warning: deprecated conversion from string constant to char*’                                                                                                    
    Fl_Util.cpp:251: warning: deprecated conversion from string constant to char*’                                                                                                    
    Compiling Fl_Variant.cpp...                                                                                                                                                        
    Compiling Fl_WM.cpp...
    Fl_WM.cpp: In static member function static bool Fl_WM::get_window_icon(Window, Fl_Image*&, int, int):
    Fl_WM.cpp:498: warning: suggest parentheses around && within ||
    Compiling Fl_Widget.cpp...
    Compiling Fl_Window.cpp...
    Compiling Fl_Window_fullscreen.cpp...
    Compiling Fl_Window_hotspot.cpp...
    Compiling Fl_Window_iconize.cpp...
    Compiling Fl_Xpm.cpp...
    Fl_Xpm.cpp: In function bool xpm_create(Fl_IO*, uint8*&, Fl_PixelFormat&, int&, int&, const char**):
    Fl_Xpm.cpp:319: warning: deprecated conversion from string constant to char*
    Fl_Xpm.cpp:335: warning: deprecated conversion from string constant to char*
    Fl_Xpm.cpp:369: warning: deprecated conversion from string constant to char*
    Fl_Xpm.cpp:420: warning: deprecated conversion from string constant to char*
    Fl_Xpm.cpp:434: warning: deprecated conversion from string constant to char*
    Fl_Xpm.cpp:442: warning: deprecated conversion from string constant to char*
    Fl_Xpm.cpp:449: warning: deprecated conversion from string constant to char*
    Fl_Xpm.cpp: At global scope:
    Fl_Xpm.cpp:518: warning: deprecated conversion from string constant to char*
    Fl_Xpm.cpp:518: warning: deprecated conversion from string constant to char*
    Compiling Fl_abort.cpp...
    Compiling Fl_add_idle.cpp...
    Compiling Fl_arg.cpp...
    Compiling Fl_compose.cpp...
    Fl_compose.cpp: In static member function static bool Fl::compose(int&):
    Fl_compose.cpp:226: warning: suggest parentheses around && within ||
    Compiling Fl_display.cpp...
    Compiling Fl_get_key.cpp...
    Compiling Fl_init.cpp...
    Compiling Fl_key_name.cpp...
    Compiling Fl_lock.cpp...
    Fl_lock.cpp:107: warning: missing braces around initializer for char [4]
    Compiling Fl_own_colormap.cpp...
    Compiling Fl_visual.cpp...
    Compiling KStoUCS.cpp...
    Compiling filename.cpp...
    Compiling filename_list.cpp...
    filename_list.cpp: In function int fl_filename_list(const char*, dirent***, int (*)(dirent**, dirent**)):
    filename_list.cpp:62: error: invalid conversion from int (*)(const void*, const void*) to int (*)(const dirent**, const dirent**)
    filename_list.cpp:62: error:   initializing argument 4 of int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))
    make[2]: *** [filename_list.shared.o] Error 1
    make[2]: Leaving directory `/home/greyash/software/equinox_desktop_environment/efltk/src/core'
    make[1]: *** [shared] Error 2
    make[1]: Leaving directory `/home/greyash/software/equinox_desktop_environment/efltk/src'
    make: *** [all] Error 2
    

    Any ideas of what is wrong? Thanks.
      Cavan

     
  • Grey_Ash
    Grey_Ash
    2010-01-14

    ping?

     
  • Grey_Ash
    Grey_Ash
    2010-01-16

    Hello,
    I'll give this a try soon.
      Regards

     
  • Grey_Ash
    Grey_Ash
    2010-01-18

    Hello,
    About the delay; I installed opensuse on my pc & it messed up Debian's boot-loader. I'm working on getting it back, without loosing anything.
       Bye for now.

     
  • Grey_Ash
    Grey_Ash
    2010-01-21

    Hi,
    Finally got it compiled. The Ubuntu thread did the trick.
    Is this significant :
       Install1 /usr/local/bin/ede-panel
    cp: omitting directory `ede-panel'

            rm -f "/usr/local/bin/ede-panel"
            cp -f "ede-panel" "/usr/local/bin/ede-panel"

    …failed Install1 /usr/local/bin/ede-panel …

    It happened during "jam install" for ede.

    However I have a problem getting EDE to start. Running "startede" yields
    $ startede
    /usr/local/bin/startede: 78: evoke: not found

    And drops back to the prompt.

    Did I leave something out? Any ideas? Thanks.

       Greetings.

    PS: Should I move this to another thread?

     
  • Sanel Zukan
    Sanel Zukan
    2010-01-21

    Hi,

    Getting these messages means either ede-panel or evoke failed to be compiled or somehow failed to be installed. Can you try to check if e.g. ede-panel was compiled (go to ede_src/ede-panel/ directory and try to locate 'ede-panel' binary)? The same applies for evoke.

    If they failed to be compiled, executing in ede source directory 'jam ede-panel' and 'jam evoke' should try to recompile them again, giving some clue what went wrong. If you get some error output, please post it so we can decypher the reasons.

    Best, Sanel