'gmake install' with DESTDIR puts files in bad place

'gmake install' with DESTDIR puts files in bad place

Post by Mike Cud » Thu, 19 Sep 2002 05:46:47



Quote:>Description:

        When doing a 'gmake install' with DESTDIR= set, 'libs' directory
        is not installed properly

Quote:>How-To-Repeat:

        (build MySQL)
        gmake DESTDIR=`pwd`/.install

        Notice that a directory '.install..' gets created in the current
        directory.  

        If a trailing slash is included with 'DESTDIR', then a 'libs'
        directory is created in the current directory.
        The directory contains the following files:

        libbtr.a    libeval.a   liblock.a   libos.a     librow.a    libut.a
        libbuf.a    libfil.a    liblog.a    libpage.a   libsrv.a
        libcom.a    libfsp.a    libmach.a   libpars.a   libsync.a
        libdata.a   libfut.a    libmem.a    libque.a    libthr.a
        libdict.a   libha.a     libmtr.a    libread.a   libtrx.a
        libdyn.a    libibuf.a   libodbc.a   librem.a    libusr.a

Quote:>Fix:

        The Makefile's in innobase/...  set the variable 'libsdir=' to
        '../libs'.  This breaks in the presence of DESTDIR.  As I'm not
        sure  the correct install location of these libraries, I cannot
        suggest a fix.

Quote:>Submitter-Id:      
>Originator:
>Organization:

    Ponte Communications, Inc.

Quote:>MySQL support: none
>Synopsis:   'gmake install' with DESTDIR puts innodb 'libs' in wrong place
>Severity:   non-critical
>Priority:   low
>Category:   mysql
>Class:              sw-bug
>Release:    mysql-4.0.3-beta (Source distribution)
>Environment:

System: SunOS colossus 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4

(portions of report elided, they are not from the machine where the build
is taking place)

Some paths:  /usr/local/bin/perl /usr/local/bin/make /opt/sfw/bin/gmake /opt/sfw/bin/gcc /usr/ucb/cc

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)



Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

 
 
 

1. ODBC driver error '80004005' - couldn't find file '(unknown)'

Hi,
 Im getting the following error when I use a web browser to view my ASP
page:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access 97 Driver] Couldn't find file
'(unknown)'.

The Microsoft support pages have info describing lots of 80004005
errors, but this particular error doesnt seem to me among them. Anyone
have any pointers?

Other things I have checked:

+ Using a FILE DSN, not System DSN
+ Visual InterDev client, IIS, and Access application, and Access
database file are one the same machine
+Guest account is enabled on NT server
+Anonymous account enabled on IIS
+Not using a UNC (direct file path is in the database connection)
+Have the very latest ODBC, ADO & OLE DB drivers
+Using IIS 3.0, and Ive installed the service pack 3, and the office 97
SR-1 patch.

Thanks for the help in advance,
Sharif Razzaque

2. Where is Alt.machines.cnc?????

3. Load Infile import puts ' " ' in front of each field?

4. DSL Modem Recommendation????

5. How do I Put a 'Literal' Value in a Report Column?

6. problem with cygwin and 'stat' struct

7. bad date comparaison for dates like '00??-??-??'

8. Adding Help after the fact

9. Can't start mysql if installed outside the 'compile time' directory

10. Bad import with ID='-1', bug or feature?

11. ERROR: Bad timestamp external representation 'current'

12. Bad time external representation ''

13. Pooling of 'bad' database connections?