configure jwm - Minix

This is a discussion on configure jwm - Minix ; Good morning, the config.log file reports: configure:3491: checking X11/Xlib.h usability configure:3503: cc -c -g -I/usr/X11R6/include conftest.c >&5 configure:3509: $? = 0 configure:3513: test -z || test ! -s conftest.err + eval test -z "$ac_c_werror_flag" || test ! -s conftest.err + ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: configure jwm

  1. configure jwm

    Good morning,

    the config.log file reports:

    configure:3491: checking X11/Xlib.h usability <====THIS
    configure:3503: cc -c -g -I/usr/X11R6/include conftest.c >&5
    configure:3509: $? = 0
    configure:3513: test -z
    || test ! -s conftest.err
    + eval test -z "$ac_c_werror_flag" || test ! -s conftest.err
    + test -z
    configure:3516: $? = 0
    configure:3519: test -s conftest.o
    + eval test -s conftest.$ac_objext
    + test -s conftest.o
    configure:3522: $? = 0
    configure:3532: result: yes <====RESULT
    configure:3536: checking X11/Xlib.h presence <====THIS
    configure:3546: cc -E conftest.c
    "conftest.c", line 32: cannot open include file "X11/Xlib.h"
    < ... >
    | #include
    configure:3572: result: no <======RESULT
    configure:3578: WARNING: X11/Xlib.h: accepted by the compiler,
    rejected by the preprocessor! <===== ???
    configure:3580: WARNING: X11/Xlib.h: proceeding with the compiler's
    result
    configure:3607: checking for X11/Xlib.h
    configure:3614: result: yes <====???
    < ... >

    But in /usr/X11R6/include/X11 I find Xlib.h:

    < ... >
    -rw-r--r-- 1 root operator 2332 Mar 20 13:10 Xfuncproto.h
    -rw-r--r-- 1 root operator 3164 Mar 20 13:10 Xfuncs.h
    -rw-r--r-- 1 root operator 98717 Mar 20 13:10 Xlib.h <====??
    -rw-r--r-- 1 root operator 36684 Mar 20 13:10 Xlibint.h
    -rw-r--r-- 1 root operator 1769 Mar 20 13:10 Xlocale.h
    -rw-r--r-- 1 root operator 6741 Mar 20 13:10 Xmd.h
    < ... >

    What can I do?

    Thanks a lot,

    Andrea







  2. Re: configure jwm

    In article ,
    andrea wrote:
    >configure:3536: checking X11/Xlib.h presence <====THIS
    >configure:3546: cc -E conftest.c
    >"conftest.c", line 32: cannot open include file "X11/Xlib.h"


    Well, without a -I option, a plain 'cc -E' is not going to find the X include
    files.


    --
    That was it. Done. The faulty Monk was turned out into the desert where it
    could believe what it liked, including the idea that it had been hard done
    by. It was allowed to keep its horse, since horses were so cheap to make.
    -- Douglas Adams in Dirk Gently's Holistic Detective Agency

  3. Re: configure jwm

    Il Sat, 27 May 2006 13:27:28 +0200, Philip Homburg ha scritto:

    > In article ,
    > andrea wrote:
    >>configure:3536: checking X11/Xlib.h presence <====THIS
    >>configure:3546: cc -E conftest.c
    >>"conftest.c", line 32: cannot open include file "X11/Xlib.h"

    >
    > Well, without a -I option, a plain 'cc -E' is not going to find the X include
    > files.


    Thank you!

    I try 'make' ...

    ....and now I have this result:

    <...>
    cc -o jwm border.o button.o client.o clock.o color.o command.o confirm.o \
    cursor.o debug.o desktop.o dock.o event.o error.o font.o group.o help.o \
    hint.o icon.o image.o key.o lex.o main.o match.o menu.o misc.o move.o \
    outline.o pager.o parse.o place.o popup.o render.o resize.o root.o \
    screen.o status.o swallow.o taskbar.o timing.o tray.o traybutton.o \
    winmenu.o -L/usr/X11R6/lib/ -lX11
    Undefined:
    _SetShape <=====???
    make in /home/andrea/jwm-1.7/src: Exit code 1
    make in /home/andrea/jwm-1.7: Exit code 1

    <...>


    #grep SetShape src/*

    src/client.c: SetShape(np);
    src/client.c: SetShape(np);
    src/client.c:void SetShape(ClientNode *np) {
    src/client.c: SetShape(np);
    src/client.h:void SetShape(ClientNode *np);
    src/event.c:void SetShape(ClientNode *np) {
    ^^^====this is my addition (taken from client.c)
    src/event.c: SetShape(np);

    I don't understand if _SetShape is a function in source code
    or in some libraries.

    Any suggestions?
    Thank you,

    Andrea












  4. Re: configure jwm

    Il Sat, 27 May 2006 15:44:04 +0200, andrea ha scritto:

    > Undefined:
    > _SetShape <=====???
    > make in /home/andrea/jwm-1.7/src: Exit code 1
    > make in /home/andrea/jwm-1.7: Exit code 1
    >

    <...>
    >
    > I don't understand if _SetShape is a function in source code
    > or in some libraries.
    >


    For whom it may concern:

    ....the problem was in client.c:
    "JWM has a #ifdef around that function, but in the ShadeClient function in
    client.c, SetShape is called and there's no #ifdef around it."
    Thanks Joe for your help.

    Now I have my jwm working and I am happy.

    Thanks to all,

    Andrea


  5. Re: configure jwm


    "andrea" wrote in message
    newsan.2006.05.29.17.37.12.848002@tiscalinet.it...
    > Il Sat, 27 May 2006 15:44:04 +0200, andrea ha scritto:
    >
    > > Undefined:
    > > _SetShape <=====???
    > > make in /home/andrea/jwm-1.7/src: Exit code 1
    > > make in /home/andrea/jwm-1.7: Exit code 1
    > >

    > <...>
    > >
    > > I don't understand if _SetShape is a function in source code
    > > or in some libraries.
    > >

    >
    > For whom it may concern:
    >
    > ...the problem was in client.c:
    > "JWM has a #ifdef around that function, but in the ShadeClient function in
    > client.c, SetShape is called and there's no #ifdef around it."
    > Thanks Joe for your help.
    >
    > Now I have my jwm working and I am happy.
    >
    > Thanks to all,
    >
    > Andrea
    >


    Congrats! You might want to consider sharing it with the community. See
    http://www.minix3.org/software/submit.html to see about uploading your port.

    The Grue - James T. Sprinkle



+ Reply to Thread