tailrecursion / boot

A Clojure build tool
Eclipse Public License 1.0
111 stars 18 forks source link

Failure to make #6

Closed acron0 closed 10 years ago

acron0 commented 10 years ago

sudo make boot is failing with an error after downloading libraries

acron@laptop:$ sudo make boot
[sudo] password for acron: 
rm -f boot
lein clean
WARNING: You're currently running as root; probably by accident.
Press control-C to abort or Enter to continue as root.
Set LEIN_ROOT to disable this warning.

lein uberjar
WARNING: You're currently running as root; probably by accident.
Press control-C to abort or Enter to continue as root.
Set LEIN_ROOT to disable this warning.

Copying 30 files to /media/acron/projects/Libraries/boot/lib
Compiling tailrecursion.boot.loader
Compiling tailrecursion.boot.loader
Compiling tailrecursion.boot.semver
Compilation succeeded.
Created /media/acron/projects/Libraries/boot/boot-0.3.0.jar
Including boot-0.3.0.jar
Including aether-api-1.13.1.jar
Including aether-connector-file-1.13.1.jar
Including aether-connector-wagon-1.13.1.jar
Including aether-impl-1.13.1.jar
Including aether-spi-1.13.1.jar
Including aether-util-1.13.1.jar
Including clojure-1.5.1.jar
Including commons-codec-1.4.jar
Including commons-io-2.0.1.jar
Including commons-logging-1.1.1.jar
Including digest-1.4.3.jar
Including dynapath-0.2.3.jar
Including httpclient-4.1.2.jar
Including httpcore-4.1.2.jar
Including jsoup-1.6.1.jar
Including maven-aether-provider-3.0.4.jar
Including maven-model-3.0.4.jar
Including maven-model-builder-3.0.4.jar
Including maven-repository-metadata-3.0.4.jar
Including plexus-classworlds-2.4.jar
Including plexus-component-annotations-1.5.5.jar
Including plexus-interpolation-1.14.jar
Including plexus-utils-2.0.7.jar
Including pomegranate-0.2.0.jar
Including sisu-guice-3.0.3-no_aop.jar
Including sisu-inject-bean-2.2.3.jar
Including sisu-inject-plexus-2.2.3.jar
Including wagon-http-2.2.jar
Including wagon-http-shared4-2.2.jar
Including wagon-provider-api-2.2.jar
Created /media/acron/projects/Libraries/boot/boot-0.3.0-standalone.jar
echo '#!/usr/bin/env bash' > boot
echo 'java $JVM_OPTS -jar $0 "$@"' >> boot
echo 'exit' >> boot
cat target/boot*-standalone.jar >> boot
cat: target/boot*-standalone.jar: No such file or directory
make: *** [boot] Error 1

Java version:

java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.12) (7u25-2.3.12-4ubuntu3)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
acron0 commented 10 years ago

Removing 'target/' from the Makefile solved this issue. Is it the Makefile at fault or my set up?

micha commented 10 years ago

I don’t think you want to run that as root. If you run make boot as a normal user does it work as intended?

Micha Niskin

On Thu, Jan 23, 2014 at 5:13 PM, Antony notifications@github.com wrote:

Removing 'target/' from the Makefile solved this issue. Is it the Makefile at fault or my set up?

— Reply to this email directly or view it on GitHubhttps://github.com/tailrecursion/boot/issues/6#issuecomment-33175041 .

micha commented 10 years ago

Ah the problem was building with Leiningen version 1 instead of version 2. All good now.

Micha Niskin

On Thu, Jan 23, 2014 at 5:19 PM, Micha Niskin micha.niskin@gmail.comwrote:

I don’t think you want to run that as root. If you run make boot as a normal user does it work as intended?

Micha Niskin

On Thu, Jan 23, 2014 at 5:13 PM, Antony notifications@github.com wrote:

Removing 'target/' from the Makefile solved this issue. Is it the Makefile at fault or my set up?

— Reply to this email directly or view it on GitHubhttps://github.com/tailrecursion/boot/issues/6#issuecomment-33175041 .