llvm: cannot run doxygen - llvm

I can't build docs.
I am doing all things in llvm source directory.
./configure --enable-doxygen
make
...
llvm[1]: Building doxygen documentation
error: configuration file /media/data/virtual/share/gsoc/llvm/docs/doxygen.cfg not found!
...
make[1]: *** [regendoc] Error 1
make[1]: Leaving directory `/media/data/virtual/share/gsoc/llvm/docs'
make: *** [install] Error 1
What am I doing wrong?

What am I doing wrong?
I have no ida, but you might try to create configuration file on your own, for example with
doxywizard

Related

how can I solve makefile error in omnet++

I created my own code in veins in traci file and built it. I have makefile error how can I solve in?
2 errors generated.
Makefile:177: recipe for target '../out/gcc-debug/src/veins/modules/application/ieee80211p/BaseWaveApplLayer.o' failed
make[1]: *** [../out/gcc-debug/src/veins/modules/application/ieee80211p/BaseWaveApplLayer.o] Error 1
make[1]: Leaving directory '/c/Users/sepideh/src/omnetpp-5.0/samples/veins/src'
make: *** [all] Error 2
Makefile:16: recipe for target 'all' failed
16:41:24 Build Finished (took 1m:9s.529ms)
I experienced the same problem. The solution for me was to configurate omnet++ without certain packages.
./configure WITH_OSGEARTH=no WITH_OSG=no WITH_QTENV=no
and then make like this:
make -j3

Error while building LLVM/clang

I was trying to build LLVM/clang in HOME directory without sudo access following this link (http://clang.llvm.org/get_started.html)
But when I type 'make' this happens
Error running link command: No such file or directory
make[2]: *** [lib/libLLVMSupport.a] Error 2
make[2]: Leaving directory `/home/skataka/porple_tools/build'
make[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
make[1]: Leaving directory `/home/skataka/porple_tools/build'
make: *** [all] Error 2
$ Write failed: Broken pipe
I have used make VERBOSE=1 and it says CMAKE-AR NOT FOUND
Edit:
Changed CMakeCXXCompiler.cmake file - SET(CMAKE_AR "path to llvm-ar")
Now I am getting "Error running link command: Permission denied"
Help me with this !
Looks like your build directory generated by cmake is broken it seems to not be able to find the linker. I'd clobber the build directory and regenerate it with cmake paying attention to if it spits out any errors while configuring.

Cannot "make" verlihub on Debian

I'm trying to create my own dchub on Debian using Verlihub. Everything works great when I'm using ./configure but when I'm trying to "make", it ends with an error! Please help!
./configure gives back:
Configure has completed successfully. Now you must run make.
If make fails with errors, please consult the forums and see
if anyone else has had the same issue. The forums are located
here http://forums.verlihub-project.org
Extensive documentation is also available at the project website
which can be found here http://www.verlihub-project.org
Please feel free to join and register at the Verlihub suport
hub located here dchub://hub.verlihub-project.org:7777
sudo make gives back:
stringutils.cpp: In function 'void nStringUtils::ExpandPath(std::string&)':
stringutils.cpp:127:31: error: 'get_current_dir_name' was not declared in this scope
make[2]: *** [stringutils.lo] Error 1
make[2]: Leaving directory `/verlihub-0.9.8e-r2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/verlihub-0.9.8e-r2'
make: *** [all] Error 2

Errors in building Qt Static 5.3.2

So I am attempting to build Qt Static 5.3.2. The build is being automated by a windowspowershell script I found at http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MSVC. I am getting errors I don't fully understand, because I have verified the existence of the following files in the source, and I have checked to see if they have been copied to the correct directory and they are there.
copy /y C:\Qt\Static\src\qt-everywhere-opensource-src-5.3.2\qtbase\examples\widgets\widgets.pro C:\Qt\Static\5.3.2\examp
les\widgets
1 file(s) copied.
mingw32-make[3]: Target 'install' not remade because of errors.
mingw32-make[3]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase/examples/widgets'
Makefile:415: recipe for target 'sub-widgets-install_subtargets' failed
mingw32-make[2]: *** [sub-widgets-install_subtargets] Error 2
copy /y C:\Qt\Static\src\qt-everywhere-opensource-src-5.3.2\qtbase\examples\README C:\Qt\Static\5.3.2\examples
1 file(s) copied.
mingw32-make[2]: Target 'install' not remade because of errors.
mingw32-make[2]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase/examples'
Makefile:78: recipe for target 'sub-examples-install_subtargets' failed
mingw32-make[1]: *** [sub-examples-install_subtargets] Error 2
xcopy /s /q /y /i C:\Qt\Static\src\qt-everywhere-opensource-src-5.3.2\qtbase\doc\global C:\Qt\Static\5.3.2\doc\global
59 File(s) copied
mingw32-make[1]: Target 'install' not remade because of errors.
mingw32-make[1]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase'
Makefile:75: recipe for target 'module-qtbase-install_subtargets' failed
mingw32-make: *** [module-qtbase-install_subtargets] Error 2
mingw32-make: Target 'install' not remade because of errors.
Try to output powershell script output (.\windows-build-qt-static.ps1 > out.txt) and find strings with error information to get more understanding.
I've had the same final error and when I've inspected script output, I've found out that WATCOM headers were used in the process of compilation.
...
Environment:
INCLUDE=
C:\WATCOM\H
C:\WATCOM\H\NT
C:\WATCOM\H\NT\DIRECTX
C:\WATCOM\H\NT\DDK
...
The source of the problem was INCLUDE environment variable that was set to WATCOM compiler headers
INCLUDE
C:\WATCOM\H;C:\WATCOM\H\NT;C:\WATCOM\H\NT\DIRECTX;C:\WATCOM\H\NT\DDK
I've modified it to point to MinGw headers
INCLUDE
C:\Qt\Qt5.3.1\Tools\mingw482_32\i686-w64-mingw32\include;C:\Qt\Qt5.3.1\Tools\mingw482_32\include
This solved problem for me.
This may be not your error, but the point is, you should look at script output.
May be you don't installed ActivePerl or Python. Try it. It helped me.

Apache thrift can not make

When I'm trying to configure and make thrift 0.9.1 it gives some errors. Can anyone tell me the reason for that and what should I do to overcome this issue. Errors are shown in below.
user#linux-yyzo:~/WorkDir/thrift-0.9.1> make
make all-recursive
make[1]: Entering directory `/home/user/WorkDir/thrift-0.9.1'
Making all in compiler/cpp
make[2]: Entering directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
make all-am
make[3]: Entering directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
\
\
/bin/sh ../../ylwrap `test -f 'src/thrifty.yy' || echo './'`src/thrifty.yy y.tab.c thrifty.cc y.tab.h thrifty.h y.output thrifty.output -- yacc -d
../../ylwrap: line 113: yacc: command not found
make[3]: *** [thrifty.cc] Error 1
make[3]: Leaving directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/WorkDir/thrift-0.9.1'
make: *** [all] Error 2
user#linux-yyzo:~/WorkDir/thrift-0.9.1>
There are two resources on the Thrift web site worth reading when one runs into troubles like this.
The Requirements give a good overview about the dependencies; the Building From Source page explains build steps and configure switches briefly. Additionally, the requirements page holds some links to more specific information for builds on Ubuntu, CentOS, Windows and OS X.