Hardcoding /opt considered harmful

I installed RT3 on my web server, and now its time to migrate to a new
server. When I installed the first install, I used ./configure --prefix=/usr/local. Which failed miserably. /opt is hardcoded in
the vast majority of the files, so I had to do a mount_null /usr/local /opt, which is bloody annoying.

Can someone please fix this?

I installed RT3 on my web server, and now its time to migrate to a new
server. When I installed the first install, I used ./configure --prefix=/usr/local. Which failed miserably. /opt is hardcoded in
the vast majority of the files, so I had to do a mount_null /usr/local /opt, which is bloody annoying.

Can you tell us where /opt is hardcoded?

Can someone please fix this?


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

:
:
:On Fri, Aug 01, 2003 at 09:52:40AM -0700, Peter Hessler wrote:
:> I installed RT3 on my web server, and now its time to migrate to a new
:> server. When I installed the first install, I used ./configure :> --prefix=/usr/local. Which failed miserably. /opt is hardcoded in
:> the vast majority of the files, so I had to do a mount_null :> /usr/local /opt, which is bloody annoying.
:
:Can you tell us where /opt is hardcoded?
:
bin/webmux.pl, bin/rt-crontool, bin/mason_handler.fcgi,
bin/rt-mailgate, lib/RT.pm, sbin/rt-setup-database.

I did a grep -r "/opt/rt3" /opt/rt3 to find these.

:
:>
:> Can someone please fix this?
:> _______________________________________________
:> rt-users mailing list
:> rt-users@lists.fsck.com
:> http://lists.fsck.com/mailman/listinfo/rt-users
:>
:> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
:>
:
:–
:Request Tracker — Best Practical Solutions – Trouble Ticketing. Free.

All of those tools have their paths set by the ./configure script in the
distribution. Perhaps you didn’t rerun ‘make install’ after running
configure?On Fri, Aug 01, 2003 at 10:03:50AM -0700, Peter Hessler wrote:

On Fri, Aug 01, 2003 at 12:56:12PM -0400, Jesse Vincent wrote:
:
:
:On Fri, Aug 01, 2003 at 09:52:40AM -0700, Peter Hessler wrote:
:> I installed RT3 on my web server, and now its time to migrate to a new
:> server. When I installed the first install, I used ./configure :> --prefix=/usr/local. Which failed miserably. /opt is hardcoded in
:> the vast majority of the files, so I had to do a mount_null :> /usr/local /opt, which is bloody annoying.
:
:Can you tell us where /opt is hardcoded?
:
bin/webmux.pl, bin/rt-crontool, bin/mason_handler.fcgi,
bin/rt-mailgate, lib/RT.pm, sbin/rt-setup-database.

I did a grep -r "/opt/rt3" /opt/rt3 to find these.

:
:>
:> Can someone please fix this?
:> _______________________________________________
:> rt-users mailing list
:> rt-users@lists.fsck.com
:> http://lists.fsck.com/mailman/listinfo/rt-users
:>
:> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
:>
:
:–
:Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

I installed RT3 on my web server, and now its time to migrate to a new
server. When I installed the first install, I used ./configure --prefix=/usr/local. Which failed miserably. /opt is hardcoded in
the vast majority of the files, so I had to do a mount_null /usr/local /opt, which is bloody annoying.

Can someone please fix this?

Hmmm, I did nearly this with 3.0.3 and had no problems.

The only difference is I used:

./configure --prefix=/usr/local/rt …

to put all the installed files under a single root directory.

Steve Wampler {sbw@tapestry.tucson.az.us}
The gods that smiled upon your birth are laughing now. – fortune cookie