incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Fischer ...@a-w-f.de>
Subject Re: Building AAO from source...
Date Thu, 24 May 2012 09:47:16 GMT
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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>
>
>

Mime
View raw message