Help please, with compile drm

Dan Nicholson dbn.lists at gmail.com
Tue Feb 17 06:39:38 PST 2009


On Mon, Feb 16, 2009 at 10:22 PM, tac <jeuse.tac at gmail.com> wrote:
> Hi everyone,
>       For study reason I decide to compile the xorg myself in the distro of
> solaris, but I've got stuck
> with compile drm from the git repos on freedesktop.
>       Before asking in irc, I was told I should use gmake to do this, but
> still it doesn't seem clear
> enough for me to do anything ahead.
>       Suggestions appreciated!

I could be wrong, but I don't think drm has solaris support. Just
linux and the bsds. I could be wrong, and hopefully Alan Coopersmith
will jump in to clarify that.

> ps. I was running into this when I type make install from the source:
> Making install in libdrm
> make: Fatal error in reader: Makefile, line 658: Unexpected end of line seen
> Current working directory /export/work/xorg/drm/libdrm
> *** Error code 1
> The following command caused the error:
> failcom='exit 1'; \
> for f in x $MAKEFLAGS; do \
>   case $f in \
>     *=* | --[!k]*);; \
>     *k*) failcom='fail=yes';; \
>   esac; \
> done; \
> dot_seen=no; \
> target=`echo install-recursive | sed s/-recursive//`; \
> list='libdrm shared-core tests'; for subdir in $list; do \
>   echo "Making $target in $subdir"; \
>   if test "$subdir" = "."; then \
>     dot_seen=yes; \
>     local_target="$target-am"; \
>   else \
>     local_target="$target"; \
>   fi; \
>   (cd $subdir && make  $local_target) \
>   || eval $failcom; \
> done; \
> if test "$dot_seen" = "no"; then \
>   make  "$target-am" || exit 1; \
> fi; test -z "$fail"
> make: Fatal error: Command failed for target `install-recursive'

That's just regular automake rules, which are pretty widely tested. It
could be a GNU make issue, but I doubt it. Maybe if you could should
the whole log from make it could help.

--
Dan



More information about the xorg mailing list