How to find the files which is the problem - ruby-on-rails-5

how to find the problematic file
rake aborted!
Sass::SyntaxError: Invalid CSS after "... filter: progid": expected ";", was ": DXImageTransf..."
(sass):19792
/tmp/build_ba581d6ed1d202133833b6c534904469/vendor/bundle/ruby/2.5.0/gems/sass-3.7.4/lib/sass/scss/parser.rb:1308:in `expected'

You can find that string if it exists in your assets directory by running the following from your project root:
grep -rn 'DXImageTransf' app/assets

Related

fatal error: 'bpf_helper_defs.h' file not found

When I run make kselftest-install, it shows the following error:
../../../lib/bpf/bpf_helpers.h:11:10: fatal error: 'bpf_helper_defs.h'
file not found
How to solve this issue? I'm using Ubuntu 20.04.
First, try to find the missing file in your kernel source code root directory.
$ find -name bpf_helper_defs.h
./tools/bpf/resolve_btfids/libbpf/include/bpf/bpf_helper_defs.h
./tools/bpf/resolve_btfids/libbpf/bpf_helper_defs.h
It shows that bpf_helper_defs.h exists, but in a different directory than bpf_helpers.h locates. So a simple way to solve this issue is to copy the missing file to the same directory.
$ cp ./tools/bpf/resolve_btfids/libbpf/include/bpf/bpf_helper_defs.h ./tools/lib/bpf/
Run make kselftest-install again, the error disappears.

Making Cmakelist (ros) failure

After installing ros(melodic version), I followed the below steps one by one.
$ mkdir -p catkin_ws/src
$ cd catkin_ws/src
$ catkin_init_workspace
$ cd ..
$ catkin_make
Then error came up like this
CMake Error at CMakeLists.txt:1:
Parse error. Expected a command name, got unquoted argument with text
"/opt/ros/melodic/share/catkin/cmake/toplevel.cmake".
-- Configuring incomplete, errors occurred!
See also "/home/hangilkim/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/hangilkim/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:320: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
I found that CMakeLists.txt file in 'home/catkin_ws/src' folder exists clearly, but contain only this message.
/opt/ros/melodic/share/catkin/cmake/toplevel.cmake
How can I solve this problem??
Looks like you are trying to compile an already compiled project. So delete the CMakeLists.txt file in 'home/catkin_ws/src' or for safety measures move it to another folder then run catkin_make command on your terminal.

installing caffe cmake error

I've followed all the steps to install the caffe dependencies. I've bumped into the following error:
find: `dependencies/cmake-3.3.0-rc2/Tests/FindPackageTest/Baz': No such file or directory
find: `1.1': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/FindPackageTest/Baz': No such file or directory
find: `1.2': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/FindPackageTest/Baz': No such file or directory
find: `1.2/CMake': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Another': No such file or directory
find: `Subdir': No such file or directory
find: `Sources': No such file or directory
bash: -c: line 0: syntax error near unexpected token `('
bash: -c: line 0: `find dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Some(x86) Sources -maxdepth 1 \( -name '*.cpp' -o -name '*.proto' \) | grep -q .'
find: `dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Some': No such file or directory
find: `Examples': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Some': No such file or directory
find: `Examples/example2': No such file or directory
find: `dependencies/cmake-3.3.0-rc2/Tests/SubDirSpaces/Some': No such file or directory
find: `Examples/example1': No such file or directory
LD -o .build_release/lib/libcaffe.so
/usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libgflags.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [.build_release/lib/libcaffe.so] Error 1
I'm not really sure what's going on. It seems as if cmake hasn't been installed properly? What's curious is that I have two cmake folders: One in my caffe folder and the other one inside an extra folder I called "dependencies" in which I am compiling all other dependencies for caffe:
doing form my /caffe/ folder:
$ ls
build
.build_release
caffe.cloc
cmake
cmake-3.3.0-rc2.tar.gz
CMakeLists.txt
CONTRIBUTORS.md
data
dependencies
distribute
docs
.Doxyfile
examples
.gitignore
include
INSTALL.md
LICENSE
Makefile
Makefile.config
Makefile.config.example
matlab
models
python
README.md
scripts
src
tools
.travis.yml
doing ls from my /caffe/dependencies/ folder:
$ ls
cmake-3.3.0-rc2
cmake-3.3.0-rc2.tar.gz
gflags-master
gflags-master.zip
glog-0.3.3
glog-0.3.3.tar.gz
master.zip
mdb
Was I supposed to install all the dependencies inside my /caffe/ folder?
I suggest you should use the cmake-gui for making Caffe. There you can set the appropriate paths easily. No need to install all the dependencies in the Caffe root directory. You may install them in your system home directory.

Output project directory cannot be located inside ChilliSource / ...directory already exists

I'm trying to check out Chilli Source but I'm getting errors at first try with cmd. If I make directory there is one error:
C:\ChilliSource-master\ChilliSource-master\Tools>java -jar CSProjectGenerator.jar --projectname gra1 --packagename ab.cdef.gra --output ../gra1 --logginglevel verbose
FATAL: Output project directory '../gra1/gra1/' already exists!
0 Warnings found.
1 Errors found.
If i delete directory there is another error:
C:\ChilliSource-master\ChilliSource-master\Tools>java -jar CSProjectGenerator.jar --projectname gra1 --packagename ab.cdef.gra --output ../gra1 --logginglevel verbose
FATAL: Output project directory '../gra1/gra1/' cannot be located inside Chilli Source.
0 Warnings found.
1 Errors found.
Solution: http://forums.chilli-works.com/t/output-project-directory-cannot-be-located-inside-chillisource-directory-already-exists/29/2
Just some text to make post at least 30 characters.

Cannot find input file: makefile.in

I've bin trying to integrate Apache and with Django.
I downloaded the mod_wsgi-3.4 folder from the net and tried running the ./configure command from git bash.
I'm using dev c++ as my c compiler.
I get the following errors:
./configure: line 1877: apxs: command not found ln: creating symbolic link 'Makefile.in' to 'posix-apX.mk.in': No such file directory configure: creating ./config.status config.status:error: cannot find input file: Makefile.in
Can someone help me with this?
You can specify the location of apxs
./configure --with-apxs=/usr/local/apache/bin/apxs