Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
I just reinstalled freebsd yesterday and updated the ports tree, and decided to go for enlightenment dr17 this time after checking it out on gentoo,where it compiled flawlessly... I tried ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431

    Enlightenment wont compile


    I just reinstalled freebsd yesterday and updated the ports tree, and decided to go for enlightenment dr17 this time after checking it out on gentoo,where it compiled flawlessly... I tried compile it using ports, but then I just get this errors:
    Code:
    ===>  Building for enlightenment-0.16.999.010
    make  all-recursive
    Making all in src
    Making all in bin
    cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include            -I../..        -I../../src/bin          -I../../src/lib         -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include       -DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6 -DE17_PROFILE=FAST_PC  -I/usr/local/include -I/usr/X11R6/include  -O -pipe -c e_main.c
    In file included from e_main.c:4:
    e.h:21:21: Ecore_X.h: No such file or directory
    e.h:26:23: Ecore_Txt.h: No such file or directory
    e.h:29:27: Ecore_X_Atoms.h: No such file or directory
    In file included from e_includes.h:42,
                     from e.h:77,
                     from e_main.c:4:
    e_actions.h:13: error: syntax error before "Ecore_X_Event_Mouse_Button_Down"
    e_actions.h:14: error: syntax error before "Ecore_X_Event_Key_Down"
    e_actions.h:16: error: syntax error before "Ecore_X_Event_Mouse_Button_Up"
    e_actions.h:17: error: syntax error before "Ecore_X_Event_Key_Up"
    In file included from e_includes.h:10,
                     from e.h:79,
                     from e_main.c:4:
    e_container.h:122: error: syntax error before "Ecore_X_Rectangle"
    In file included from e_includes.h:13,
                     from e.h:79,
                     from e_main.c:4:
    e_border.h:124: error: syntax error before "Ecore_X_Window_State_Hint"
    e_border.h:131: error: syntax error before "Ecore_X_Gravity"
    e_border.h:152: error: syntax error before "Ecore_X_MWM_Hint_Func"
    e_border.h:191: error: syntax error before "Ecore_X_Sync_Alarm"
    e_border.h:211: error: syntax error before "Ecore_X_Window_Type"
    e_border.h:233: error: syntax error before "Ecore_X_Window_Attributes"
    e_border.h:423: error: syntax error before "alarm"
    e_border.h:430: error: syntax error before "Ecore_X_Event_Mouse_Button_Down"
    e_border.h:431: error: syntax error before "Ecore_X_Event_Mouse_Button_Up"
    e_border.h:432: error: syntax error before "Ecore_X_Event_Mouse_Button_Down"
    e_border.h:433: error: syntax error before "Ecore_X_Event_Mouse_Button_Up"
    e_border.h:434: error: syntax error before "Ecore_X_Event_Mouse_Button_Down"
    In file included from e_includes.h:23,
                     from e.h:79,
                     from e_main.c:4:
    e_atoms.h:10: error: syntax error before "E_ATOM_MANAGED"
    e_atoms.h:10: warning: data definition has no type or storage class
    e_atoms.h:13: error: syntax error before "E_ATOM_CONTAINER"
    e_atoms.h:13: warning: data definition has no type or storage class
    e_atoms.h:14: error: syntax error before "E_ATOM_ZONE"
    e_atoms.h:14: warning: data definition has no type or storage class
    e_atoms.h:15: error: syntax error before "E_ATOM_DESK"
    e_atoms.h:15: warning: data definition has no type or storage class
    e_atoms.h:16: error: syntax error before "E_ATOM_MAPPED"
    e_atoms.h:16: warning: data definition has no type or storage class
    e_atoms.h:17: error: syntax error before "E_ATOM_SHADE_DIRECTION"
    e_atoms.h:17: warning: data definition has no type or storage class
    e_atoms.h:18: error: syntax error before "E_ATOM_HIDDEN"
    e_atoms.h:18: warning: data definition has no type or storage class
    In file included from e_includes.h:30,
                     from e.h:79,
                     from e_main.c:4:
    e_hints.h:23: error: syntax error before "Ecore_X_Window_State"
    In file included from e_includes.h:40,
                     from e.h:79,
                     from e_main.c:4:
    e_bindings.h:73: error: syntax error before "Ecore_X_Event_Mouse_Button_Down"
    e_bindings.h:74: error: syntax error before "Ecore_X_Event_Mouse_Button_Down"
    e_bindings.h:75: error: syntax error before "Ecore_X_Event_Mouse_Button_Up"
    e_bindings.h:76: error: syntax error before "Ecore_X_Event_Mouse_Button_Up"
    e_bindings.h:82: error: syntax error before "Ecore_X_Event_Key_Down"
    e_bindings.h:83: error: syntax error before "Ecore_X_Event_Key_Up"
    e_main.c: In function `_e_main_screens_init':
    e_main.c:643: warning: assignment makes pointer from integer without a cast
    *** Error code 1
    
    Stop in /usr/ports/x11-wm/enlightenment-devel/work/enlightenment-0.16.999.010/src/bin.
    *** Error code 1
    
    Stop in /usr/ports/x11-wm/enlightenment-devel/work/enlightenment-0.16.999.010/src.
    *** Error code 1
    
    Stop in /usr/ports/x11-wm/enlightenment-devel/work/enlightenment-0.16.999.010.
    *** Error code 1
    
    Stop in /usr/ports/x11-wm/enlightenment-devel/work/enlightenment-0.16.999.010.
    *** Error code 1
    
    Stop in /usr/ports/x11-wm/enlightenment-devel.
    I also tried pkg_add, but the file don't seem to exist anymore:
    Code:
    matrix# pkg_add -rv enlightenment-devel
    looking up ftp.freebsd.org
    connecting to ftp.freebsd.org:21
    setting passive mode
    opening data connection
    initiating transfer
    Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/enlightenment-devel.tbz: File unavailable (e.g., file not found, no access)
    pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/enlightenment-devel.tbz' by URL
    pkg_add: 1 package addition(s) failed
    I did also try compiling it manually{from CVS snapshots from a site on the net), but it cant seem to find my X.h includes whatever options I give... I also tried with the source fetched from the ports, but I still get this error when running configure. Here's the last part of the configure:
    Code:
    checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
    checking for gethostbyname... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for IceConnectionNumber in -lICE... yes
    checking X11/X.h usability... no
    checking X11/X.h presence... no
    checking for X11/X.h... no
    configure: error: Cannot find X headers and libraries.
    I have tried giving the configure script several arguments, for example the --x-includes or what it was called, and both with and without prefix.... Any suggestions for what else I can try? If you find the binary package too that would be great as well, but a solution to the X11/X.h missing, while theire not missing, would be great as well...

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Have you tried using this guide to compile from CVS? Do you get the same errors?

    My X.h is in /usr/include/X11, so I'm pretty sure it comes with X. Have you tried re-building X (make sure you have Xorg)?
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Yeah, the same errors... I have X.h myself, I checked for it right before posting yesterday, it can be found in /usr/X11R6/include/X11/X.h

    /me goes back to flux meanwhile

  4. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Have you installed the 35235 dependencies for e17? (Not to insult your intelligence, of course, but I've made dumber mistakes in my life )

  5. #5
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Quote Originally Posted by jaboua
    Yeah, the same errors... I have X.h myself, I checked for it right before posting yesterday, it can be found in /usr/X11R6/include/X11/X.h

    /me goes back to flux meanwhile
    Maybe try making a symling of /usr/include to /usr/X11R6/include ...?
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  6. #6
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    My system contains a bunch of symlinks. Sometimes I'm just too lazy to add a directory to my PATH in /etc/bashrc / /etc/profile / whatever.

  7. #7
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Quote Originally Posted by lakerdonald
    Have you installed the 35235 dependencies for e17? (Not to insult your intelligence, of course, but I've made dumber mistakes in my life )
    At least I have tried, eet, ecore etc etc all lies here...
    I will try making a symlink now and see wht happens

  8. #8
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    OK thanks, that worked, posting from enlightenment now

  9. #9
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    766
    jaboua, how is it looking now? I gave it a shot over 2 months ago and found a lot of things weren't ready for prime time yet (like menu editing, etc.). Am dying to give it a go as my primary WM over IceWM.
    Registered Linux user #384279
    Vector Linux SOHO 7

  10. #10
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Quote Originally Posted by retired1af
    jaboua, how is it looking now? I gave it a shot over 2 months ago and found a lot of things weren't ready for prime time yet (like menu editing, etc.). Am dying to give it a go as my primary WM over IceWM.
    From what I remember E17 isn't really supposed to be ready for the prime time, but I love E16.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •