I recently upgraded my MacBook Pro to Yosemite and I'm having trouble building Rust from source now. When I run
$ ./configure
$ make && sudo make install
it seems to build fine, but hangs on installation at this line
rustdoc: doc/rustc/index.html
and eventually outputs this error:
task '<main>' failed at 'failed to generate documentation: couldn't open file (permission denied (Permission denied); path=doc/implementors/graphviz/trait.GraphWalk.js; mode=open; access=read)', /Users/Raevynheart/Code/rust_projects/rust/src/librustdoc/lib.rs:246
make: *** [doc/rustc/index.html] Error 101
make: *** [install] Error 2
I found this issue that might be related, but I'm unsure how to proceed. Thanks for your help.
For anyone that runs into a similar problem, here is what worked for me. If you run make help, you'll be presented with options for the make command. One of them is:
# * clean - Clean the build repertory. It is advised to run this
# command if you want to build Rust again, after an update
# of the git repository.
Running sudo make clean and then make && sudo make install got Rust ready to roll once again.
Related
I have been working on a project that requires me to use make clean, make ready, then make install to get files to run a simulation. I got make clean and make ready to work on the same area but as soon as I try to run a make install it won't work and gives this error:
ifort -w -O -tpp7 -c main.f
make: ifort: Command not found
make: *** [makefile:640: main.o] Error 127
this makes no sense to me as I don't have a Linux system and I'm running on a windows system with WSL and Ubuntu. There is a makefile if that is helpful but I don't really know what to look for in that file. Thanks in advance.
I am studying nodejs and mysql connection and I got an error in runnning the make command.
Here's my reference for my tutorial:
https://www.codementor.io/nodejs/tutorial/node-js-mysql
I already installed cgywin and here's what i did
I go to the extracted latest siege file
I run this command ./configure
Then make
But when I try to run the make I got this error:
JLC-Mark#JLC-Mark-PC /cygdrive/c/wamp/www/siege-3.1.2
$ make
make: *** No targets specified and no makefile found. Stop.
What can I do with this error?
Thats all I hope you can help me.
And one more thing can you suggest a good reference for real time updates using node and mysql?
You have to install the actual siege utility, which is a C program that is not on npm. Depending on your platform, the program may already be available via your package manager.
I have a problem with installing old software developed in 1995 for Linux.
My operating system is Cent Os. and I got some errors as below when I tried to follow the program instruction. I still do not know what the problems are....
sometimes the clock skew error messages show up but frequently it does not come up.
Waiting for expert's help
igrf]$ make
make: Warning: File igrf' has modification time 98 s in the future
make:igrf' is up to date.
make: warning: Clock skew detected. Your build may be incomplete.
igrf]$ make install
make: Warning: File igrf' has modification time 94 s in the future
install -c /home/hj/master/mag/bin -m 755 ./igrf
install: omitting directory/home/hj/master/mag/bin'
make: * [install] Error 1
Thanks!!
I installed the old version of libpcap-1.0.0 on Ubuntu 18.04 from the source, but this was not successful, as it does not fit my version of Ubuntu and gives a make error: *** [install] Error 1.
Instead this tar.gz archive i used the usual command in the terminal:
sudo apt install libpcap-dev # the problem is solved
It is possible that there is incompatibility of archives to new versions of Ubuntu.
It is also possible to find missing dependencies, check this:
IMPORTANT: There is enough information about this error; please do not post anything unless there is a specific review!
make install --touch
What can i do to help find dependencies. All of these workarounds are specific to one configuration or another. Therefore, it makes sense to track other issues as a separate bug instead of continuing to use one bug report for each issue. To make sure we focus on bugs that affect testers, Q_A_ asks reporters to feel free to post fixes and commits. The answer was very focused on the lack of specific dependencies. It will automatically collect and attach updated debug information to your report. Please add them for the feisty to help muffle the compilation issue. Maybe even backport fixes for the dapper and edgy ones?
Initially when compiling mongoose i used the helper:
make --touch
и был вывод:
touch vc98
touch vc2017
touch mingw
touch mingw++
touch linux
touch fuzzer
touch fuzz
Then i installed the missing dependencies:
sudo apt install fuzz libfuzzer-10-dev ocaml-mingw-w64-x86-64 vc-dev
...and still not all, then i had to use install (using reportdependencies the current behavior is unexpected and unsatisfactory):
I have output for mongoose:
touch linux-libs
touch install
Reportdependencies doesn't handle this very well.
In this case, linux-libs (install is omitted) points to some missing libraries. And this:
sudo apt install liblinux-pid-perl
I had an equivalent problem in the past. It is tied to the timestamps of (some) files. You should try to use the command "touch" on the concerned files. This will update the time stamps of those files.
I hope this will make the trick.
I want to test rna-star code. I have Ubuntu 12.04 on my machine.I have downloaded all the packages necessary:
sudo apt-get update
sudo apt-get install g++
sudo apt-get install make
But in the installation step I have problem running make command on STAR executable file.on the installation manual I see it says:
Unzip/tar STAR_x.x.x.tgz file into a directory of your choice <
STARsource >, cd < STARsource > and run make. The source code will be
compiled and the STAR executable will be generated.
when I run 'make STAR' it says:
make: Nothing to be done for `STAR'.
any suggestion?
This means that the "STAR" target does not exist. In a makefile, you define targets (implicit or explicit) and make takes care of building in the correct orders the dependencies for your target.
You should read documentation on this project or glance at the makefile : it's likely you need to run "make" without parameters (which is stated in your documentation excerpt), something like :
tar zxvf star...tgz
cd star...
make
So I just ran into the same problem.
Apparently the following solved it:
Redirect to source map: cd STAR-2.5.3a/source
The Makefile is in this location, after this just enter the command make.
It should start running. If you work in a cluster do not forget to edit your shell configuration before using;
export PATH=$HOME/STAR-2.5.3a/source:$PATH
I'm installing Apache on Ubuntu following this install guide
http://httpd.apache.org/docs/trunk/install.html but get an error on the last step when I run the command line below;
$ PREFIX/bin/apachectl -k start
I've noticed that the referred file (above) does not exist on my server on that path.
When I run ls -l, I get this:
-rwxr-xr-x 1 agenadinik agenadinik 7067 2011-03-22 14:08 apr-1-config
Does anyone know why this inconsistency exist?
The make install command also had this error:
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/agenadinik/httpd-2.2.17/srclib/apr-util'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/agenadinik/httpd-2.2.17/srclib'
make: *** [install-recursive] Error 1
Any idea what is happening incorrectly here and how to get it fixed?
I'm using Apache version 2.2.17 with the built folder name as httpd-2.2.17 in my home directory at /home/agenadinik/.
I think its a permissions issue. Try
sudo make install
# make clean install
# service mysqld stop
this will remove the above errors
I had the same problem with the same error message, in my case it was a permission problem so I used the following command:
# sudo make install
First, you need to run make clean install in the directory where you've compiled Apache.
Then, re-compile Apache from source with all necessary options as below;
All with sudo privileges, if required.
# ./buildconf
# ./configure --enable-ssl --enable-so --with-included-apr
# make
# make install
Options used above are:
--enable-ssl to enable SSL support,
--enable-so to enable dynamically loaded modules, and
--with-included-apr to make use of the Apache Portable Runtime (APR) supporting library in the srclib directory of your Apache project.
After a successful operation, you can now effectively start your Apache server.