Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Can't install Ubuntu 15.04 Final Beta (Beta2) #1

Closed
NedasPekorius opened this issue Apr 1, 2015 · 2 comments
Closed

Can't install Ubuntu 15.04 Final Beta (Beta2) #1

NedasPekorius opened this issue Apr 1, 2015 · 2 comments
Labels

Comments

@NedasPekorius
Copy link

cant install on Ubuntu Vivid. I know it runs on Systemd so installed acpi_call_GUI_systemd
java app gives error wen selecting acpi off string:

fatal: destination path '/usr/local/bin/acpi_call' already exists and is not an empty directory.
make -C /lib/modules/3.19.0-10-generic/build M=/usr/local/bin/acpi_call modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-10-generic'
CC [M] /usr/local/bin/acpi_call/acpi_call.o
In file included from include/acpi/platform/acenv.h:172:0,
from include/acpi/acpi.h:56,
from /usr/local/bin/acpi_call/acpi_call.c:9:
include/acpi/platform/aclinux.h:52:2: error: #error "Please don't include <acpi/acpi.h> directly, include <linux/acpi.h> instead."
#error "Please don't include <acpi/acpi.h> directly, include <linux/acpi.h> instead."
^
scripts/Makefile.build:263: recipe for target '/usr/local/bin/acpi_call/acpi_call.o' failed
make[2]: *** [/usr/local/bin/acpi_call/acpi_call.o] Error 1
Makefile:1394: recipe for target 'module/usr/local/bin/acpi_call' failed
make[1]: *** [module/usr/local/bin/acpi_call] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-10-generic'
Makefile:8: recipe for target 'default' failed
make: *** [default] Error 2
insmod: ERROR: could not load module acpi_call.ko: No such file or directory
cp: cannot create regular file ‘/usr/lib/systemd/system/’: Not a directory
Failed to execute operation: No such file or directory
Process Complete.

@marcoDallas
Copy link
Owner

Hi,

These problems are related directly to acpi_call, not to my Java utility.

By the way, it seems that acpi_call is unable to re-compile the kernel, are
you sure you have installed all the things that are necessary to compile
the kernel (linux-headers and build-essential)? Using the systemd version
you have to install them by yourself.
Il 01/apr/2015 10:39 "NedasPekorius" notifications@github.com ha scritto:

cant install on Ubuntu Vivid. I know it runs on Systemd so installed
acpi_call_GUI_systemd
java app gives error wen selecting acpi off string:

fatal: destination path '/usr/local/bin/acpi_call' already exists and is
not an empty directory.
make -C /lib/modules/3.19.0-10-generic/build M=/usr/local/bin/acpi_call
modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-10-generic'
CC [M] /usr/local/bin/acpi_call/acpi_call.o
In file included from include/acpi/platform/acenv.h:172:0,
from include/acpi/acpi.h:56,
from /usr/local/bin/acpi_call/acpi_call.c:9:
include/acpi/platform/aclinux.h:52:2: error: #error "Please don't include
directly, include instead."
#error "Please don't include directly, include instead."
^
scripts/Makefile.build:263: recipe for target
'/usr/local/bin/acpi_call/acpi_call.o' failed
make[2]: *** [/usr/local/bin/acpi_call/acpi_call.o] Error 1
Makefile:1394: recipe for target 'module/usr/local/bin/acpi_call' failed
make[1]: *** [module/usr/local/bin/acpi_call] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-10-generic'
Makefile:8: recipe for target 'default' failed
make: *** [default] Error 2
insmod: ERROR: could not load module acpi_call.ko: No such file or
directory
cp: cannot create regular file ‘/usr/lib/systemd/system/’: Not a directory
Failed to execute operation: No such file or directory
Process Complete.


Reply to this email directly or view it on GitHub
#1.

@marcoDallas
Copy link
Owner

Confirmed, this problem is related directly to acpi_call, we hope that Michal Kottman will merge the fix soon.
By the way, if you want you can fix this by yourself by following the instructions reported in the following pull requests:

mkottman/acpi_call#53
mkottman/acpi_call#52
mkottman/acpi_call#49

You will find the acpi_call folder in:

/usr/local/bin/acpi_call/

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

No branches or pull requests

2 participants