Issue 48758 - building with external expat on freebsd-4 does not find libs
Summary: building with external expat on freebsd-4 does not find libs
Status: CONFIRMED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 680m95
Hardware: PC FreeBSD
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-05-05 09:57 UTC by yury_t
Modified: 2017-05-20 10:47 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description yury_t 2005-05-05 09:57:26 UTC
Building with external expat on freebsd-4 does not find expat libs without extra 
-L/usr/local/lib in several places, like in following hackish fragment.

--- ooo_SRC680_m95_src/transex3/source/makefile.mk.prev Thu Mar 31 06:52:23 2005
+++ ooo_SRC680_m95_src/transex3/source/makefile.mk      Sun Apr 24 23:23:33 2005
@@ -139,7 +139,7 @@

 APP2TARGET= helpex
 APP2OBJS= $(OBJ)$/helpmerge.obj  $(OBJ)$/xmlparse.obj $(OBJ)$/export2.obj 
$(OBJ)$/utf8conv.obj $(OBJ)$/merge.obj $(OBJ)$/he
-APP2STDLIBS=$(BTSTRPLIB) $(SALLIB) $(EXPATASCII3RDLIB) $(TOOLSLIB) $(VOSLIB)
+APP2STDLIBS=-L/usr/local/lib $(BTSTRPLIB) $(SALLIB) $(EXPATASCII3RDLIB) 
$(TOOLSLIB) $(VOSLIB)

 # extractor and merger for *.lng and *.lng
 APP3TARGET= ulfex
--- ooo_SRC680_m95_src/xmlhelp/source/treeview/makefile.mk.prev Tue Sep 14 22:
39:37 2004
+++ ooo_SRC680_m95_src/xmlhelp/source/treeview/makefile.mk      Mon Apr 25 16:
25:46 2005
@@ -90,7 +90,7 @@
 SHL1STDLIBS=\
        $(CPPUHELPERLIB) \
        $(CPPULIB) \
-       $(EXPATASCII3RDLIB)      \
+       -L/usr/local/lib $(EXPATASCII3RDLIB)      \
        $(SALLIB)  \
        $(VOSLIB) \
        $(UCBHELPERLIB)
--- ooo_SRC680_m95_src/xmlhelp/util/makefile.mk.prev    Thu Mar 31 07:56:26 2005
+++ ooo_SRC680_m95_src/xmlhelp/util/makefile.mk Mon Apr 25 17:52:42 2005
@@ -98,6 +98,7 @@

 # Add additional libs here.
 SHL1STDLIBS=                     \
+       -L/usr/local/lib        \
        $(CPPUHELPERLIB)         \
        $(CPPULIB)               \
        $(SALLIB)                \
--- ooo_SRC680_m95_src/sax/util/makefile.mk.prev        Wed Apr 23 16:54:05 2003
+++ ooo_SRC680_m95_src/sax/util/makefile.mk     Sun Apr 24 21:42:47 2005
@@ -77,7 +77,7 @@
 SHL1IMPLIB= i$(TARGET)

 SHL1STDLIBS= \
-               $(SALLIB)  \
+               -L/usr/local/lib $(SALLIB)  \
                $(CPPULIB) \
                $(CPPUHELPERLIB)\
                        $(EXPAT3RDLIB)
--- ooo_SRC680_m95_src/shell/source/unix/sysshell/makefile.mk.prev      Wed Jan 
26 17:24:28 2005
+++ ooo_SRC680_m95_src/shell/source/unix/sysshell/makefile.mk   Mon Apr 25 14:
10:06 2005
@@ -94,7 +94,7 @@
        $(CPPUHELPERLIB)\
        $(COMPHELPERLIB)
 .ELSE
-SHL1STDLIBS=$(EXPATASCII3RDLIB)\
+SHL1STDLIBS=-L/usr/local/lib $(EXPATASCII3RDLIB)\
        $(SALLIB)\
        $(CPPULIB)\
        $(CPPUHELPERLIB)\
--- ooo_SRC680_m95_src/pyuno/source/loader/makefile.mk.prev     Wed Jan 26 17:
10:57 2005
+++ ooo_SRC680_m95_src/pyuno/source/loader/makefile.mk  Sun Apr 24 22:05:43 2005
@@ -94,7 +94,7 @@
 SHL1TARGET=    $(TARGET)

 SHL1STDLIBS= \
-               $(CPPULIB)              \
+               -L/usr/local/lib $(CPPULIB)             \
                $(CPPUHELPERLIB)        \
                $(SALLIB)               \
                $(PYUNOLIB)             \
--- ooo_SRC680_m95_src/pyuno/source/module/makefile.mk.prev     Mon Feb 21 19:
23:17 2005
+++ ooo_SRC680_m95_src/pyuno/source/module/makefile.mk  Sun Apr 24 22:05:13 2005
@@ -112,7 +112,7 @@


 SHL1STDLIBS= \
-               $(CPPULIB)              \
+               -L/usr/local/lib $(CPPULIB)             \
                $(CPPUHELPERLIB)        \
                $(SALLIB)               \
                $(PYTHONLIB)
Comment 1 flibby05 2005-05-21 22:26:19 UTC
set to NEW
Comment 2 Martin Hollmichel 2005-08-10 14:22:42 UTC
reassigned to maho for review, hard coding /usr/local/lib looks unusual.
Comment 3 maho.nakata 2005-08-16 09:12:47 UTC
re-targeting to 2.0.1
as this issue is not critical for standard way to build.
Comment 4 pavel 2005-11-23 07:57:30 UTC
OOoLater - please retarget appropriately.
Comment 5 Martin Hollmichel 2010-07-20 16:45:43 UTC
is this issue still valid ?
Comment 6 yury_t 2010-07-20 18:06:41 UTC
After 5 years it obviously is not :)
Comment 7 Marcus 2017-05-20 10:47:32 UTC
Reset assigne to the default "issues@openoffice.apache.org".