Skip to content

my "make" couldn't work with error "No rule to make target" #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
shanchao opened this issue Jun 14, 2011 · 1 comment
Closed

my "make" couldn't work with error "No rule to make target" #61

shanchao opened this issue Jun 14, 2011 · 1 comment

Comments

@shanchao
Copy link

[root@phxrueidb04 stumbleupon-opentsdb-33dff14]# make
make: *** No rule to make target `.git/HEAD', needed by `src/BuildData.java'.  Stop.

[root@phxrueidb04 stumbleupon-opentsdb-33dff14]# git --version
git version 1.7.5.4
[root@phxrueidb04 stumbleupon-opentsdb-33dff14]# java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
[root@phxrueidb04 stumbleupon-opentsdb-33dff14]# uname -a
Linux phxrueidb04 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
[root@phxrueidb04 stumbleupon-opentsdb-33dff14]# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
@shanchao
Copy link
Author

i realize that i downloaded the file from browser so that it's not git formatted, I init a new git dir and copied the .git into it, now it's compiled :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant