Ticket 30: uuid 0.9.0 installation failure
"make install" fails, it tries to install -s (strip) a shell script (this is SuSE Linux 8.2 FWIW). It should presumably avoid stripping shell scripts or by trying to install uuid_cli instead.
$ make install
...(after installing the library successfully)...
./shtool install -c -s -m 755 uuid /usr/local/bin/
strip: /usr/local/bin/#INST@22669#: File format not recognized
make: *** [install] Error 1
$ file uuid
uuid: Bourne shell script text
Workaround: install manually.
Oh BTW, the ticketing system does not offer "uuid" subsystem after clicking on "New" (upper right hand of screen)
Remarks:
Ok, the next-to-last line of the install section of Makefile.in needs to use $(LIBTOOL). This edited version works for me:
119 $(SHTOOL) install -c -m 644 uuid.h $(DESTDIR)$(includedir)/
120 $(SHTOOL) install -c -m 644 uuid.3 $(DESTDIR)$(mandir)/man3/
121 @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libuuid.la $(DESTDIR)$(libdir)/
122 @$(LIBTOOL) --mode=install $(SHTOOL) install -c -s -m 755 uuid $(DESTDIR)$(bindir)/
123 $(SHTOOL) install -c -m 644 uuid.1 $(DESTDIR)$(mandir)/man1/
124
125 uninstall:
Patch attached.
Properties:
Type: |
code |
|
Version: |
0.9.0 |
Status: |
closed |
|
Created: |
2004-Jan-12 15:27 |
Severity: |
2 |
|
Last Change: |
2004-Jan-13 10:27 |
Priority: |
1 |
|
Subsystem: |
uuid |
Assigned To: |
rse |
|
Derived From: |
|
Creator: |
anonymous |
Related Check-ins:
2004-Jan-13 10:26 |
• |
Check-in [4315]: Fixed "make install" and "make uninstall": the uuid(1) CLI has to be [un]installed through GNU libtool, too. Submitted by: Matthias Andree <matthias.andree@gmx.de> PR: 30 (By rse) |
Attachments: