incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nelson Marques <nmo.marq...@gmail.com>
Subject Re: Building AAO from source...
Date Thu, 24 May 2012 16:13:19 GMT
Andre,

I've had prepared a machine at home just for stagging AOO builds which
holds local repositories for all the components I've build. I don't
have connectivity to it now, so this isn't really accurate (I will
confirm later), but I believe those files are there (I havent copied
them) because they were installed there by dmake?





2012/5/24 Andre Fischer <af@a-w-f.de>:
> Hi Nelson,
>
>
> On 24.05.2012 16:39, Nelson Marques wrote:
>>
>> Andre,
>>
>> The goal was to have everything dynamically linked and using the
>> dependencies provided by the system (ex: python, perl, lucene, dmake,
>> etc); this lead me to build first all those components and install
>> them in the normal path that stuff is installed (/usr).
>>
>> dmake was built with the default options except for prefix, which I
>> changed to /usr.
>
>
> OK, nothing wrong with that.  But I still don't understand why the makefiles
> that usually reside in main/solenv/inc/startup/ are found in
> /usr/share/startup/.  Did you copy them there?
> Those files could change from revision to revision and should better not be
> shared between different repositories (what we called child work spaces in
> past days).
>
> -Andre
>
>
>>
>>
>>
>> 2012/5/24 Andre Fischer<af@a-w-f.de>:
>>>
>>> On 23.05.2012 18:51, Nelson Marques wrote:
>>>>
>>>>
>>>> [nmarques@localhost solenv]$ dmake -v
>>>> dmake:  Openning [/usr/share/startup/startup.mk] for read (success)
>>>> dmake:  Openning [/usr/share/startup/config.mk] for read (success)
>>>> dmake:  Parsing include file [/usr/share/startup/config.mk].
>>>> dmake:  /usr/share/startup/config.mk:  line 3:  Warning: -- Macro `OS'
>>>> redefined after use
>>>> dmake:  Closing [/usr/share/startup/config.mk]
>>>> dmake:  Openning [/usr/share/startup/local.mk] for read (fail)
>>>> dmake:  Include file [/usr/share/startup/local.mk] was not found.
>>>> dmake:  Openning [/usr/share/startup/unix/macros.mk] for read (success)
>>>> dmake:  Parsing include file [/usr/share/startup/unix/macros.mk].
>>>> dmake:  Openning [/usr/share/startup/unix/linux/macros.mk] for read
>>>> (success)
>>>> dmake:  Parsing include file [/usr/share/startup/unix/linux/macros.mk].
>>>> dmake:  Closing [/usr/share/startup/unix/linux/macros.mk]
>>>> dmake:  Closing [/usr/share/startup/unix/macros.mk]
>>>> dmake:  /usr/share/startup/startup.mk:  line 140:  Warning: -- More
>>>> than one prerequisite
>>>> for %-target. Use :| ruleop or indirect prerequisites.
>>>> dmake:  /usr/share/startup/startup.mk:  line 144:  Warning: -- More
>>>> than one prerequisite
>>>> for %-target. Use :| ruleop or indirect prerequisites.
>>>> dmake:  Openning [/usr/share/startup/unix/recipes.mk] for read (success)
>>>> dmake:  Parsing include file [/usr/share/startup/unix/recipes.mk].
>>>> dmake:  Openning [/usr/share/startup/unix/linux/recipes.mk] for read
>>>> (fail)
>>>> dmake:  Include file [/usr/share/startup/unix/linux/recipes.mk] was not
>>>> found.
>>>> dmake:  Closing [/usr/share/startup/unix/recipes.mk]
>>>> dmake:  Openning [project.mk] for read (fail)
>>>> dmake:  Include file [project.mk] was not found.
>>>> dmake:  Closing [/usr/share/startup/startup.mk]
>>>> dmake:  Openning [makefile.mk] for read (success)
>>>> dmake:  Openning [settings.mk] for read (fail)
>>>> dmake:  Inferring include file [settings.mk].
>>>> dmake:  Openning [settings.mk] for read (fail)
>>>> dmake:  Infering prerequisite(s) and recipe for [settings.mk]
>>>> dmake:  Trying prerequisite [settings.mk.o] for [settings.mk]
>>>> dmake:  Caching directory [/home/nmarques/aoo/aoo-3.4.0/main/solenv]
>>>> dmake:  Trying prerequisite [RCS/settings.mk,v] for [settings.mk]
>>>> dmake:  Caching directory [/home/nmarques/aoo/aoo-3.4.0/main/solenv/RCS]
>>>> dmake:  Trying prerequisite [settings.mk,v] for [settings.mk]
>>>> dmake:  Trying prerequisite [settings.mk.sh] for [settings.mk]
>>>> dmake:  Time stamp of [settings.mk] is 0
>>>> dmake:  makefile.mk:  line 29:  Error: -- Include file settings.mk, not
>>>> found
>>>> dmake:  Closing [makefile.mk]
>>>
>>>
>>>
>>> Most makefile includes are read from /usr/share/startup/.
>>> Can you explain why this directory exists and is in the search path?
>>>
>>>
>>>>
>>>>
>>>> 2012/5/23 Andre Fischer<af@a-w-f.de>:
>>>>>
>>>>>
>>>>> On 23.05.2012 18:02, Nelson Marques wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> :618
>>>>>> <code>
>>>>>> .INCLUDE :  $(posix_PWD)/$(OUT)/inc/myworld.mk
>>>>>> <code>
>>>>>>
>>>>>> Looks fine to me... that's why I said it is most likely a string
>>>>>> replacement or var somewhere which is being twisted around by
>>>>>> something I couldn't identify yet.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> That is really strange.  This line is interpreted directly by dmake.
>>>>> I know of no replacement that could get in the way.
>>>>>
>>>>> Can you cd into main/solenv/ and do a
>>>>>   dmake -v
>>>>> there and paste the output?
>>>>>
>>>>>>
>>>>>> Whatever it is, it's messing with parent directory and file name
>>>>>> itself... The code   is:
>>>>>>
>>>>>>
>>>>>> # --- generate output tree -----------------------------------------
>>>>>>
>>>>>> # disable for makefiles wrapping a gnumake module
>>>>>> .IF "$(TARGET)"!="prj"rm
>>>>>>
>>>>>> # As this is not part of the initial startup makefile we define an
>>>>>> infered
>>>>>> # target instead of using $(OUT)/inc/myworld.mk as target name.
>>>>>> # (See iz62795)
>>>>>> $(posix_PWD)/$(OUT)/inc/%world.mk :
>>>>>>         @$(MKOUT) $(ROUT)
>>>>>>         @echo $(EMQ)#>      $@
>>>>>>
>>>>>> .INCLUDE :  $(posix_PWD)/$(OUT)/inc/myworld.mk
>>>>>>
>>>>>> .IF "$(common_build)"!=""
>>>>>> $(posix_PWD)/$(LOCAL_COMMON_OUT)/inc/%world.mk :
>>>>>>         @$(MKOUT) $(subst,$(OUTPATH),$(COMMON_OUTDIR) $(ROUT))
>>>>>>         @echo $(EMQ)#>      $@
>>>>>>
>>>>>> .INCLUDE : $(posix_PWD)/$(LOCAL_COMMON_OUT)/inc/myworld.mk
>>>>>> .ENDIF                  # "$(common_build)"!=""
>>>>>> .ENDIF          # "$(TARGET)"!="prj"
>>>>>>
>>>>>> .INCLUDE .IGNORE : office.mk
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2012/5/23 Andre Fischer<af@a-w-f.de>:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Someone said my name?  I don't know if I can help, but I will
try.
>>>>>>>
>>>>>>>
>>>>>>> On 23.05.2012 17:33, Kay Schenk wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Nelson--
>>>>>>>>
>>>>>>>> I don't know if I can help much with this, but the most recent
>>>>>>>> install
>>>>>>>> guide is at:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide_AOO
>>>>>>>>
>>>>>>>> and I do recall at first this very solenv was causing issues
though
>>>>>>>> I
>>>>>>>> don't recall what the solution was.
>>>>>>>>
>>>>>>>> Buildbot info is at:
>>>>>>>>
>>>>>>>> http://ci.apache.org/buildslaves/bb-vm2_ubuntu_32bit
>>>>>>>>
>>>>>>>> I think Andre Fisher did a lot of work on this and the Linux
guide
>>>>>>>> linked on this page...if you need more help.
>>>>>>>>
>>>>>>>> On 05/20/2012 10:11 AM, Nelson Marques wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I've setup a small environment to test some building
of AAO, but
>>>>>>>>> I'm
>>>>>>>>> somehow stuck and I'm not really sure why I'm having
a weird
>>>>>>>>> behavior.
>>>>>>>>>
>>>>>>>>> I'm not really sure what is causing this, but the path
translation
>>>>>>>>> is
>>>>>>>>> all twisted, ex:
>>>>>>>>>
>>>>>>>>> /home/nmarques/aoo/aoo-3.4.0/main/solenv/unxlngxpro/incnc/mywlrld.mk
>>>>>>>>>
>>>>>>>>> I assume this would be something like:
>>>>>>>>> /home/nmarques/aoo/aoo-3.4.0/main/solenv/unxlngxpro/inc/myworld.mk
>>>>>>>>>
>>>>>>>>> Which means something is very wrong... full output bellow...
My
>>>>>>>>> configure options are:
>>>>>>>>>
>>>>>>>>> ./configure --prefix=/opt/my-aoo \
>>>>>>>>> --with-system-libs \
>>>>>>>>> --with-mingwin=/usr/bin/i686-pc-mingw32-c++ \
>>>>>>>>> --with-vendor="SOME-TEST" \
>>>>>>>>> --enable-gstreamer \
>>>>>>>>> --enable-cairo \
>>>>>>>>> --enable-opengl \
>>>>>>>>> --enable-dbus \
>>>>>>>>> --enable-category-b \
>>>>>>>>> --enable-bundled-dictionaries
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> [nmarques@odin instsetoo_native]# build --all
>>>>>>>>> build -- version: 275224
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> =============
>>>>>>>>> Building module solenv
>>>>>>>>> =============
>>>>>>>>>
>>>>>>>>> Entering /home/nmarques/aoo/aoo-3.4.0/main/solenv
>>>>>>>>>
>>>>>>>>> dmake: /home/nmarques/aoo/aoo-3.4.0/main/solenv/inc/settings.mk:
>>>>>>>>> line 618: Error: -- Include file
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Nelson, can you show us this line 618 in settings.mk?
>>>>>>> Does it say .../inc/... or .../incnc/... ?  If the later, does
fixing
>>>>>>> this
>>>>>>> line fix the build problem?
>>>>>>>
>>>>>>> -Andre
>>>>>>>
>>>>>>>
>>>>>>>>>
>>>>>>>>> /home/nmarques/aoo/aoo-3.4.0/main/solenv/unxlngxpro/incnc/mywlrld.mk,
>>>>>>>>> not found
>>>>>>>>> ---* SETTINGS.MK *---
>>>>>>>>>
>>>>>>>>> 1 module(s):
>>>>>>>>> solenv
>>>>>>>>> need(s) to be rebuilt
>>>>>>>>>
>>>>>>>>> Reason(s):
>>>>>>>>>
>>>>>>>>> ERROR: error 65280 occurred while making
>>>>>>>>> /home/nmarques/aoo/aoo-3.4.0/main/solenv
>>>>>>>>>
>>>>>>>>> When you have fixed the errors in that module you can
resume the
>>>>>>>>> build
>>>>>>>>> by running:
>>>>>>>>>
>>>>>>>>> build --all:solenv
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>



-- 
Nelson Marques
// I've stopped trying to understand sandwiches with a third piece of
bread in the middle...

Mime
View raw message