Thanks,
I just pushed a fix. Can you verify that this tarball enables X
automatically and properly?

https://ci.inria.fr/hwloc/job/master-0-tarball/lastSuccessfulBuild/artifact/hwloc-master-20140918.1131.git005a7e8.tar.gz

I am looking at the warnings and make check failures you sent.
Brice



Le 17/09/2014 17:45, Siegmar Gross a écrit :
> Hi,
>
> sorry, I pressed the send button, before my attachements were complete.
>
>> Can you send the output of configure, the generated config.log and your
>> unmodified Xutil.h? My solaris/openindiana doesn't have that problem.
> Yes, I have used the following commands to build a working "lstopo"
> with graphics output.
>
> cd /usr/include/X11/
> cp -p Xutil.h.modified Xutil.h
> cd /export2/src/openmpi-1.9
>
> mkdir hwloc-1.9.1-${SYSTEM_ENV}.${MACHINE_ENV}
> cd hwloc-1.9.1-${SYSTEM_ENV}.${MACHINE_ENV}
>
> ../hwloc-1.9.1/configure --prefix=/usr/local/hwloc-1.9.1\
>   CC=cc CXX=CC \
>   CFLAGS="" CXXFLAGS="" FFLAGS="" FCFLAGS="" \
>   --disable-libxml2 --disable-picky --with-x \
>   |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV
>
> make |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV
> make install |& tee log.make-install.$SYSTEM_ENV.$MACHINE_ENV
> make check |& tee log.make-check.$SYSTEM_ENV.$MACHINE_ENV
>
> cd /usr/include/X11/
> cp -p Xutil.h.orig Xutil.h
> cd /export2/src/openmpi-1.9
>
>
> I get the following files and output with an unmodified Xutil.h.
>
> tyr fd1026 108 dir /usr/local/hwloc-1.9.1/bin/
> total 856
> drwxr-xr-x 2 root root    512 Sep 17 17:09 .
> drwxr-xr-x 6 root root    512 Sep 17 17:09 ..
> -rwxr-xr-x 1 root root  38688 Sep 17 17:09 hwloc-annotate
> -rwxr-xr-x 1 root root  25928 Sep 17 17:09 hwloc-assembler
> -rwxr-xr-x 1 root root   2376 Sep 17 17:09 hwloc-assembler-remote
> -rwxr-xr-x 1 root root  48708 Sep 17 17:09 hwloc-bind
> -rwxr-xr-x 1 root root  49748 Sep 17 17:09 hwloc-calc
> -rwxr-xr-x 1 root root   4131 Sep 17 17:09 hwloc-compress-dir
> -rwxr-xr-x 1 root root  26692 Sep 17 17:09 hwloc-diff
> -rwxr-xr-x 1 root root  32528 Sep 17 17:09 hwloc-distances
> -rwxr-xr-x 1 root root  35188 Sep 17 17:09 hwloc-distrib
> -rwxr-xr-x 1 root root  49972 Sep 17 17:09 hwloc-info
> lrwxrwxrwx 1 root root     18 Sep 17 17:09 hwloc-ls -> lstopo-no-graphics
> -rwxr-xr-x 1 root root  26792 Sep 17 17:09 hwloc-patch
> -rwxr-xr-x 1 root root  34380 Sep 17 17:09 hwloc-ps
> -rwxr-xr-x 1 root root 244468 Sep 17 17:09 lstopo
> -rwxr-xr-x 1 root root 225288 Sep 17 17:09 lstopo-no-graphics
> tyr fd1026 109 lstopo
> Machine (4096MB)
>   NUMANode L#0 (P#2 2048MB) + Socket L#0 + Core L#0 + PU L#0 (P#0)
>   NUMANode L#1 (P#1 2048MB) + Socket L#1 + Core L#1 + PU L#1 (P#1)
> tyr fd1026 110 su -
> Password: 
> Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
> # cd /usr/local
> # mv hwloc-1.9.1 hwloc-1.9.1_unmodified-Xutil.h
> # exit
> tyr fd1026 111 dir /usr/local/hwloc-1.9.1/bin/
> total 864
> drwxr-xr-x 2 root root    512 Sep 17 17:21 .
> drwxr-xr-x 6 root root    512 Sep 17 17:21 ..
> -rwxr-xr-x 1 root root  38688 Sep 17 17:21 hwloc-annotate
> -rwxr-xr-x 1 root root  25928 Sep 17 17:21 hwloc-assembler
> -rwxr-xr-x 1 root root   2376 Sep 17 17:21 hwloc-assembler-remote
> -rwxr-xr-x 1 root root  48708 Sep 17 17:21 hwloc-bind
> -rwxr-xr-x 1 root root  49748 Sep 17 17:21 hwloc-calc
> -rwxr-xr-x 1 root root   4131 Sep 17 17:21 hwloc-compress-dir
> -rwxr-xr-x 1 root root  26692 Sep 17 17:21 hwloc-diff
> -rwxr-xr-x 1 root root  32528 Sep 17 17:21 hwloc-distances
> -rwxr-xr-x 1 root root  35188 Sep 17 17:21 hwloc-distrib
> -rwxr-xr-x 1 root root  49972 Sep 17 17:21 hwloc-info
> lrwxrwxrwx 1 root root     18 Sep 17 17:21 hwloc-ls -> lstopo-no-graphics
> -rwxr-xr-x 1 root root  26792 Sep 17 17:21 hwloc-patch
> -rwxr-xr-x 1 root root  34380 Sep 17 17:21 hwloc-ps
> -rwxr-xr-x 1 root root 250116 Sep 17 17:21 lstopo
> -rwxr-xr-x 1 root root 225288 Sep 17 17:21 lstopo-no-graphics
> tyr local 112 lstopo
> X connection to localhost:13.0 broken (explicit kill or server shutdown).
> tyr local 113 
>
> The error message came up, when I closed the lstopo window. Do you need
> anything else?
>
>
> Kind regards
>
> Siegmar
>
>
>
>> thanks
>> Brice
>>
>>
>>
>> Le 16/09/2014 14:43, Siegmar Gross a écrit :
>>> Hi,
>>>
>>> today I installed hwloc-1.9.1 on my machines (Solaris 10 Sparc (tyr),
>>> Solaris 10 x86_64 (sunpc1), and openSUSE Linux 12.1 x86_64 (linpc1))
>>> with Sun C 5.12. I could use "--with-x" on Solaris after modifying
>>> /usr/include/X11/Xutil.h.
>>>
>>> tyr openmpi-1.9 111 more /usr/include/X11/Xutil.h
>>> ...
>>> /* You must include <X11/Xlib.h> before including this file */
>>> ...
>>>
>>>
>>> tyr openmpi-1.9 112 more /usr/include/X11/Xutil.h.modified 
>>> /* $TOG: Xutil.h /main/45 1998/02/06 18:03:35 kaleb $ */
>>> ...
>>> #ifndef _XLIB_H_
>>> #include <X11/Xlib.h>
>>> #endif
>>>
>>> #ifndef _XUTIL_H_
>>> #define _XUTIL_H_
>>> ...
>>>
>>>
>>> I would be grateful, if somebody can fix this problem in the source
>>> code (especially "configure"), so that I don't have to modify system
>>> header files.
>>>
>>>
>>> I have attached some log files, which show warnings (make) and errors
>>> (make check). I used the following configure command.
>>>
>>> ../hwloc-1.9.1/configure --prefix=/usr/local/hwloc-1.9.1\
>>>   CC=cc CXX=CC \
>>>   CFLAGS="" CXXFLAGS="" FFLAGS="" FCFLAGS="" \
>>>   --disable-libxml2 --disable-picky --with-x \
>>>   |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV
>>>
>>>
>>> Kind regards
>>>
>>> Siegmar

Reply via email to