User forums > Help

problem with update.sh

(1/6) > >>

evster:
Hi,

I am trying to install Code::Blocks on Gentoo linux.  I compiled it using
--- Code: ---make -f Makefile.unix
--- End code ---
and then tried to run the update.sh script after to complete the installation.  This script fails horribly and I don't get resources.zip and some of the directory names and executables end with a "?".

Here is the output when I run the script:

--- Code: ---evan-linux src # sh update
: command not found
Creating output directory tree
: command not found
: command not found
Compressing core UI resources
: command not foundp
: command not foundp
: command not foundp
Compressing plugins UI resources
: command not foundp
: command not foundp
: command not foundp
: command not foundp
: command not foundp
: command not foundp
: command not foundp
: command not foundp
Packing core UI bitmaps
: No such file or directorysources
: command not foundp
: No such file or directorysdk/resources
: command not foundp
Packing plugins UI bitmaps
: No such file or directoryplugins/compilergcc/resources
: command not foundp
: No such file or directory../plugins/debuggergdb/resources
: command not foundp
: No such file or directory..
: command not found
Copying files
cp: cannot stat `devel/share/CodeBlocks\r/*.zip': No such file or directory
cp: `devel/share/CodeBlocks\r/lexers': specified destination directory does not exist
Try `cp --help' for more information.
cp: `output/share/CodeBlocks/lexers': specified destination directory does not exist
Try `cp --help' for more information.
cp: `devel/share/CodeBlocks\r/images': specified destination directory does not exist
Try `cp --help' for more information.
cp: `devel/share/CodeBlocks\r/images/codecompletion': specified destination directory does not exist
Try `cp --help' for more information.
cp: `output/share/CodeBlocks/images/codecompletion': specified destination directory does not exist
Try `cp --help' for more information.
cp: `output/share/CodeBlocks/templates': specified destination directory does not exist
Try `cp --help' for more information.
cp: `output/share/CodeBlocks/templates': specified destination directory does not exist
Try `cp --help' for more information.
cp: `devel/share/CodeBlocks\r/templates': specified destination directory does not exist
Try `cp --help' for more information.
cp: `devel/share/CodeBlocks\r/templates': specified destination directory does not exist
Try `cp --help' for more information.
cp: cannot stat `devel/share/CodeBlocks\r/plugins/*.so': No such file or directory
Stripping debug info from output tree
': No such file*.exe
': No such file*.so
': No such fileshare/CodeBlocks/plugins/*.so
: command not found
Creating launch-scripts
: command not found

--- End code ---

Anyone have any ideas of how I can fix this?

Thanks!
Evan

Funto:
Did you do this?

--- Code: ---dos2unix update.sh
chmod +x update.sh
./update.sh

--- End code ---

rickg22:
Also, you need to have the zip command in your path.

evster:
Where do I get dos2unix ?  I don't have it.

evster:
Ok ,got it.

Thanks guys!

Navigation

[0] Message Index

[#] Next page

Go to full version