Code Monkey home page Code Monkey logo

Comments (12)

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 12, 2008 00:52:55

Thanks for the report. We'll take a closer look at this after the weekend.

Cc: honglilai

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 14, 2008 08:06:46

We tested in CentOS 5 as well, and we didn't come cross this problem.

Could you post the exact compiler error message?

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From jim.zajkowski on April 14, 2008 10:42:56

Sure:

In ext/apache2:

g++ -shared Utils.o Logging.o Configuration.o Hooks.o mod_passenger.o -fPIC -o mod_passenger.so -
lstdc++ -lpthread ../boost/src/libboost_thread.a -laprutil-1 -lldap -llber -ldb-4.3 -lexpat -lapr-1 -luuid -
lcrypt -lpthread -ldl
/usr/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [g++ -shared Utils.o Logging.o Configuratio...]

Our CentOS boxes we deploy for web applications are very minimal VMs under VMware ESX. This is because
there's no good reason to need a huge environment, and we prefer to add on pieces as we need rather than
start with a huge setup and pare down.

To that end, we use a template that is derrived from a kickstart file, which installs only these things and their
dependencies, which means the install is very minimal:

%packages
e2fsprogs
lvm2
kernel
grub
httpd
mod_ssl
php
php-mysql

To that, for a rails server, I enable the CentOS centosplus repository, and then yum install ruby, ruby-irb,
ruby-doc, and ruby-devel. I download and install rubygems by hand.

For Passenger, I additionally yum install httpd-devel and gcc-c++. It will not compile unless I additionally
install e2fsprog-devel, which includes libuuid.

I've attached a typescript so you can see the whole story. The error occurs at line 7062.

Attachment: typescript

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 14, 2008 11:04:53

Hm I wonder where that -luuid came from, I don't see it on our CentOS VM. Did you
install Apache/APR from yum or from source?

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From jim.zajkowski on April 14, 2008 11:39:40

Yum (yum install httpd-devel installed APR)

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 16, 2008 15:50:47

Another bug report about this has been received: http://groups.google.com/group/phusion-passenger/browse_thread/thread/b63cbd6d3e954f74 The problem is now verified.

The installer should be adapted to check for e2fsprogs-devel on RedHat-derived distros.

Status: Accepted
Labels: Usability

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 16, 2008 15:51:09

Labels: OpSys-Linux

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From jim.zajkowski on April 16, 2008 17:05:05

Or more generally, check for libuuid and provide help.

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 22, 2008 10:08:30

According to issue #31 , Fedora 8 has the same problem.

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 22, 2008 11:08:09

Labels: -Priority-Medium Priority-High

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 24, 2008 05:03:05

This should be fixed in the development version (git repository). Can anyone verify?

Status: Fixed

from passenger.

FooBarWidget avatar FooBarWidget commented on May 23, 2024

From honglilai on April 24, 2008 11:02:28

Labels: Milestone-1.0.2

from passenger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.