Comments (4)
Hi Roberto,
Looks like ubuntu no longer breaks out the dev files for the prefork mpm.
Plus the prefork mpm comes installed by default (but not configured) with
the apache2 package.
These are the packages I installed to get rapache to compile: apache2
libapreq2-dev apache2-dev
Also, Jeroen put a nice changelog entry in debian/changelog that explains
this:
libapache2-mod-r-base (1.2.8-xenial0) xenial0; urgency=low
- Remove apache2-mpm-prefork dependency (prefork is now included
with apache2-dev / apache2-bin)
On Mon, Jul 25, 2016 at 10:29 AM, rplana6 [email protected] wrote:
Hi Jeffrey,
I am trying to install RApache in Ubuntu 16.04 Apache/2.4.18 (Ubuntu) but
I get some errors:1- First when i install some packages:
sudo apt-get install apache2-prefork-dev apache2-mpm-prefork libapreq2-dev
r-base-devI get an error message:
Package apache2-mpm-prefork is not available, but is referred to by
another package. This may mean that the package is missing, has been
obsoleted, or is only available from another sourceE: Unable to locate package apache2-prefork-dev E: Package
'apache2-mpm-prefork' has no installation candidateWhen I try
debuild -us -uc
I get the message:
This package has a Debian revision number but there does not seem to be an
appropriate original tar file or .orig directory in the parent directory;
(expected one of libapache2-mod-r-base_1.2.8.orig.tar.gz,
libapache2-mod-r-base_1.2.8.orig.tar.bz2,
libapache2-mod-r-base_1.2.8.orig.tar.lzma,
libapache2-mod-r-base_1.2.8.orig.tar.xz or rapache.orig) continue anyway?
(y/n)I decide for yes but it does not work, I get:
dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: warning: using
a gain-root-command while being root dpkg-buildpackage: source package
libapache2-mod-r-base dpkg-buildpackage: source version 1.2.8-xenial0
dpkg-buildpackage: source distribution xenial0 dpkg-buildpackage: source
changed by Jeroen Ooms dpkg-source --before-build rapache
dpkg-buildpackage: host architecture amd64 dpkg-checkbuilddeps: error:
Unmet build dependencies: apache2-dev dpkg-buildpackage: warning: build
dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning:
(Use -d flag to override.) debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failedIs there anybody who can help me please?
I really appreciate any help you can provide.
Roberto
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#43, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASsJlmKTnS4woWx2Ehe4H0rjqcCHEaPks5qZNZygaJpZM4JUPqA
.
from rapache.
And actually it's already a proper ubuntu package in xenial:
$ apt-cache show libapache2-mod-r-base
Package: libapache2-mod-r-base
Priority: optional
Section: universe/web
Installed-Size: 87
Maintainer: Ubuntu Developers [email protected]
Original-Maintainer: Ondřej Surý [email protected]
Architecture: amd64
Source: rapache
Version: 1.2.7-1
Depends: apache2-api-20120211, apache2-bin (>= 2.4.16), libapreq2-3 (>=
2.13-2), libc6 (>= 2.14), r-base-core
Filename: pool/universe/r/rapache/libapache2-mod-r-base_1.2.7-1_amd64.deb
Size: 24380
MD5sum: 96a5b0063b8d680a658e62ca19195361
SHA1: 871ac3645c3a72c0c1c8f81bd4dc5e1d04e3f8bc
SHA256: 1c852bc6dc10e87c244b3f47c7e17d6b4bfa3fdad61c1a92498e3ebbdc43e462
Description-en: server-side R integration with Apache 2
This package provides the R module that adds support for embedding
the R interpreter inside Apache 2 webserver.
Description-md5: 1be630e572081e125ce258dbe3f013eb
Homepage: http://www.rapache.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
On Mon, Jul 25, 2016 at 10:47 AM, Jeffrey Horner [email protected]
wrote:
Hi Roberto,
Looks like ubuntu no longer breaks out the dev files for the prefork mpm.
Plus the prefork mpm comes installed by default (but not configured) with
the apache2 package.These are the packages I installed to get rapache to compile: apache2
libapreq2-dev apache2-devAlso, Jeroen put a nice changelog entry in debian/changelog that explains
this:libapache2-mod-r-base (1.2.8-xenial0) xenial0; urgency=low
- Remove apache2-mpm-prefork dependency (prefork is now included
with apache2-dev / apache2-bin)On Mon, Jul 25, 2016 at 10:29 AM, rplana6 [email protected]
wrote:Hi Jeffrey,
I am trying to install RApache in Ubuntu 16.04 Apache/2.4.18 (Ubuntu) but
I get some errors:1- First when i install some packages:
sudo apt-get install apache2-prefork-dev apache2-mpm-prefork
libapreq2-dev r-base-devI get an error message:
Package apache2-mpm-prefork is not available, but is referred to by
another package. This may mean that the package is missing, has been
obsoleted, or is only available from another sourceE: Unable to locate package apache2-prefork-dev E: Package
'apache2-mpm-prefork' has no installation candidateWhen I try
debuild -us -uc
I get the message:
This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent
directory; (expected one of libapache2-mod-r-base_1.2.8.orig.tar.gz,
libapache2-mod-r-base_1.2.8.orig.tar.bz2,
libapache2-mod-r-base_1.2.8.orig.tar.lzma,
libapache2-mod-r-base_1.2.8.orig.tar.xz or rapache.orig) continue anyway?
(y/n)I decide for yes but it does not work, I get:
dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: warning: using
a gain-root-command while being root dpkg-buildpackage: source package
libapache2-mod-r-base dpkg-buildpackage: source version 1.2.8-xenial0
dpkg-buildpackage: source distribution xenial0 dpkg-buildpackage: source
changed by Jeroen Ooms dpkg-source --before-build rapache
dpkg-buildpackage: host architecture amd64 dpkg-checkbuilddeps: error:
Unmet build dependencies: apache2-dev dpkg-buildpackage: warning: build
dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning:
(Use -d flag to override.) debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failedIs there anybody who can help me please?
I really appreciate any help you can provide.
Roberto
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#43, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASsJlmKTnS4woWx2Ehe4H0rjqcCHEaPks5qZNZygaJpZM4JUPqA
.
from rapache.
Wow I was not aware of that. We should update the manual that folks can now install rapache straight from debian/ubuntu :D
from rapache.
Hi Jeffrey,
What I finally did was:
sudo apt-get update
sudo apt-get install libapreq2-dev apache2-dev
sudo apt-get install libapache2-mod-r-base
sudo git clone https://github.com/jeffreyhorner/rapache
cd rapache
sudo debuild -us -uc
cd ..
sudo dpkg -i libapache2-mod-r-base*.deb
I get some warnings and errors but it seems to work...
Thanks for your help folks!!
Roberto
from rapache.
Related Issues (20)
- rApache on Centos 6.6 with apache 2.4 HOT 22
- Broken links HOT 1
- microsoft r open HOT 2
- Rapache is not able to fetch the request when RGoogleAnalytics package is used
- exceptions in RSourceOnStartup are not logged or sent to stderr HOT 1
- Process or memory? HOT 2
- Update RPM spec file version to latest (1.2.8) HOT 8
- How do you install additional packages?
- Ability to kill the apache process from an R script? HOT 4
- Setting UTF-8 HOT 2
- rApache not reading ldpaths HOT 11
- Integer overflow for posts over 1GB HOT 8
- Question: concurrent requests? HOT 2
- rApache notice! *** stack smashing detected *** with mailR::send_mail
- Rsource and RreqHandler not supported? HOT 1
- Your website www.rapache.net has been hacked HOT 2
- Installation error HOT 1
- RInfo handler not working on R version 4.1.1 (2021-08-10)
- arm64 compilation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rapache.