1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/usr/X11R6/lib/modules/drivers: No such file or directory

Discussion in 'X.Org' started by PhenomII, Jun 7, 2010.

  1. PhenomII

    PhenomII New Member

    Messages:
    58
    Thanks Received:
    4
    I recieved this error when attempting to install the new Nvidia blob.
    Here's the whole story:
    In anticipation of wanting to make use of the Linux OpenGL that the Nvidia driver natively supports. I echoed
    linux_enable=\"YES\" >> /etc/rc.conf
    then
    # kldload linux
    then proceeded by installing emulators/fedora_base-f10
    then installing the xorg server. And finally unpacking the Nvidia blob version 195.36.24.
    Following the instructions provided for FreeBSD @ Nvidia:
    as root
    # cd unpacked-nvidia-driver
    then
    # make install
    which resulted in make success, but install failure:
    install: /usr/X11R6/lib/modules/drivers: No such file or directory

    Not sure what went wrong, but the drivers directory exists in /usr/local/lib/xorg/modules
    But I think a symlink was supposed to be made in the X11R6 tree. Not sure how best to proceed. Anyone have any thoughts/suggestions?

    Thank you for all your time and consideration.
     
  2. PhenomII

    PhenomII New Member

    Messages:
    58
    Thanks Received:
    4
    [SOLVED] /usr/X11R6/lib/modules/drivers: No such file or directory

    Whoo hoo! That did it - well, almost.
    Here's the answer, the variable:
    Code:
    .if !defined(X11BASE)
    X11BASE=	/usr/X11R6
    

    Must be changed in all subdirs in the:
    Nvidia-driver-dir/xll
    folder. eg;
    xll/bin
    x11/driver
    x11/extension
    x11/man
    to:
    Code:
    .if !defined(X11BASE)
    X11BASE=	/usr/local
    

    then it will be safe to perform a
    # make install
    from the root of the freshly extracted Nvidia-driver-dir. :)

    Thanks again for your responses!
     
  3. PhenomII

    PhenomII New Member

    Messages:
    58
    Thanks Received:
    4
    OK Forgot to include:
    Nvidia-driver-dir/lib
    So the Makefile contained there-in ALSO needs to read:
    Code:
    .if !defined(X11BASE)
    X11BASE=	/usr/local
    

    ALTHO - the whole thing could have been easer:
    # cd <Nvidia-driver-dir>
    # make -DX11BASE=/usr/local install
    But that would have been too easy. :p

    Hope this might help others!

    Best wishes.
     
  4. rianav

    rianav New Member

    Messages:
    14
    Thanks Received:
    0
    Dang, this

    Code:
    # make -DX11BASE=/usr/local install


    seemingly has no effect here.
    Guess I'll do it the long way.
    Cheers.
     
  5. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,605
    Thanks Received:
    2,381
    Use the port, x11/nvidia-driver. Change the version numbers in the port's Makefile if you want.
     
    rianav thanks for this.
  6. rianav

    rianav New Member

    Messages:
    14
    Thanks Received:
    0
    Much thanks. I will consult the Makefile.