Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

New Linux 1.4 installation problem

I recently installed Quartus II 5.0, NIOS II 5.0, and Linux 1.4. At the end of the Linux 1.4 installation I got the folllowing error message:

"Cygwin extensions were not installed properly", "Please see the README for instructions on how to install them manually"

I didn't find any reference in the README file that came up shortly there after. Is there another README file that explains how to do this?

Any help much appreciated!

9 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    whoops... oversight on our part.

    From the Nios II SDK Shell, try running the following commands:

    cd /cygdrive/c/Program\ Files/Microtronix\ Nios\ II\ Linux\ Distribution

    ./install_cyg_ext.sh

    It should install the Cygwin Extensions for you.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm having the same problem. When I run the install script, I get

    umount: /usr/lib: No such file or directory

    Subsequent attempt yield a different error:

    No manual entry for umount

    I installed QuartusII 5.0

    (reboot)

    Install Nios II 5.0

    (reboot)

    Install Microtronix Nios II Linux (1.4) - this ends with an error about cygwin extensions not being install.

    (reboot)

    Run install_cyg_ext.sh (get errors above)

    I about to try uninstalling everything (again) and start over. Takes quite a while...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Can you send me the output of the following commands:

    echo $QUARTUS_ROOTDIR

    mount

    when run from a Nios II SDK Shell?

    Oh, and can you send me a copy of:

    c:\program files\microtronix\nios II linux distribution\install_settings.cache

    I'll take a look and see what I can turn up.

    Ken.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by ken@Oct 7 2005, 09:01 AM

    i'll take a look and see what i can turn up.

    ken.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=10214)

    --- quote end ---

    --- Quote End ---

    Hi Ken,

    Look like I have similar problems. Software runs very well on my laptop,

    but I have exactly the same problem on my desktop...

    Both systems are WinXP, very similar software on both of them installed, so I really have no idea what&#39;s wrong.

    Did you have any success with tracing this bug?

    Jerry.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The easy workaround is to enter the command:

    mount \\ /usr/lib

    then run the script. Since the scripts tries to umount the directory before doing anything else, it doesn&#39;t matter what directory is really mounted to /usr/lib.

    Tony
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by geisler@Oct 25 2005, 12:29 PM

    mount \\ /usr/lib

    then run the script. since the scripts tries to umount the directory before doing anything else, it doesn&#39;t matter what directory is really mounted to /usr/lib.

    tony

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=10573)

    --- quote end ---

    --- Quote End ---

    It doesn&#39;t work. Its really annoying, because exactly _the_same_software_

    installed on my laptop is behaving differently. After installing it on laptop first time, there was no plugin in IDE. I uninstallled it, installed again and it&#39;s working perfectly.

    On my PC - no luck. Microtronix plugin was present after first installation, but when I&#39;m trying to configure kernel - shell window is closing after 1sec.

    The only difference: on my PC I&#39;m using roaming profile (to be able to login from each PC in company). But after logging in as local user and reinstalling software, there was no luck ;-(

    Looks like quite a big number of people has the same problem - but what&#39;s the workaround?

    There&#39;s output from install_cyg_ext.sh:

    /cygdrive/c/Program Files/Microtronix Nios II Linux Distribution

    [SOPC Builder]$ ./install_cyg_ext.sh

    rm: cannot remove `curses.h&#39;: No such file or directory

    rm: cannot remove `form.h&#39;: No such file or directory

    rm: cannot remove `menu.h&#39;: No such file or directory

    rm: cannot remove `panel.h&#39;: No such file or directory

    rm: cannot remove `unctrl.h&#39;: No such file or directory

    /cygdrive/c/Program Files/Microtronix Nios II Linux Distribution

    [SOPC Builder]$
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Same problem stuck at o/p

    [SOPC Builder]$ ./install_cyg_ext.sh

    rm: cannot remove `curses.h&#39;: No such file or directory

    rm: cannot remove `form.h&#39;: No such file or directory

    rm: cannot remove `menu.h&#39;: No such file or directory

    rm: cannot remove `panel.h&#39;: No such file or directory

    rm: cannot remove `unctrl.h&#39;: No such file or directory

    /cygdrive/c/Program Files/Microtronix Nios II Linux Distribution
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try entering the following commands first:

    touch /usr/include/curses.h

    touch /usr/include/form.h

    touch /usr/include/menu.h

    touch /usr/include/panel.h

    touch /usr/include/unctrl.h

    Then the script will have some empty files to delete to make it happy..
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by geisler@Oct 26 2005, 08:40 PM

    try entering the following commands first:

    touch /usr/include/curses.h

    touch /usr/include/form.h

    touch /usr/include/menu.h

    touch /usr/include/panel.h

    touch /usr/include/unctrl.h

    then the script will have some empty files to delete to make it happy..

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=10596)

    --- quote end ---

    --- Quote End ---

    by using these commands following error goes off

    rm: cannot remove `curses.h&#39;: No such file or directory

    rm: cannot remove `form.h&#39;: No such file or directory

    rm: cannot remove `menu.h&#39;: No such file or directory

    rm: cannot remove `panel.h&#39;: No such file or directory

    rm: cannot remove `unctrl.h&#39;: No such file or directory

    but I am still getting following error

    umount: /usr/lib: No such file or directory

    what should I do for this??