Re: Compiling LyX on Mac OS 10.7.5

2013-04-27 Thread Stephan Witt
Am 26.04.2013 um 18:46 schrieb Elmar Hinz t3el...@googlemail.com:

 
 On Fri, Apr 26, 2013 at 6:29 PM, Kornel Benko kor...@lyx.org wrote:
 Am Freitag, 26. April 2013 um 18:23:56, schrieb Elmar Hinz 
 t3el...@googlemail.com
  Hello,
 
  IMHO there is no libc6 for mac. There is a
 
  /usr/lib/libSystem.dylib - libSystem.B.dylib
 
  Elmar
 
  
 Is there also a appropriate devel *package*?
  
 Kornel
 
 I find a _debug* and a _profile* variant:
 
 -r-xr-xr-x  1 root  wheel   475K 22 Mär  2012 /usr/lib/libSystem.B.dylib
 -r-xr-xr-x  1 root  wheel   475K 12 Apr  2012 /usr/lib/libSystem.B_debug.dylib
 -r-xr-xr-x  1 root  wheel   475K 12 Apr  2012 
 /usr/lib/libSystem.B_profile.dylib
 lrwxr-xr-x  1 root  wheel17B 22 Mär  2012 /usr/lib/libSystem.dylib - 
 libSystem.B.dylib
 lrwxr-xr-x  1 root  wheel23B  2 Mär 13:51 /usr/lib/libSystem_debug.dylib 
 - libSystem.B_debug.dylib
 lrwxr-xr-x  1 root  wheel25B  2 Mär 13:51 
 /usr/lib/libSystem_profile.dylib - libSystem.B_profile.dylib
 
 However I am new with Mac OS and still can't explain how it handles the stuff 
 we know as libc6 and libc6-dev.
 This gives start: http://docstore.mik.ua/orelly/unix3/mac/ch05_02.htm
 
 For today I wanted to learn how to compile LyX and succeded largeley.
 
 Next step is to bring in a patch to learn the workflow of the project.

Hi Elmar,

I'm building LyX on Mac for packaging with the script you can find in the 
source tree:
lyx/development/LyX-Mac-binary-release.sh

To use the Xcode tool for debugging I'm building LyX with cmake.

I'm building the Qt libs myself, too.

I've made a script to automate this process. 

The top level directory contains 
* the lyx sources in lyx
* the qt4 sources destilled from the source tarball
* the build directory for qt and lyx compilation files
* the install directory for the packaged results 

Perhaps you're interested in it, I'll attach it.

To use the debug libraries, you have to control the shared library loader.
You have to add DYLD_IMAGE_SUFFIX=_debug to your environment.

With Xcode you'll do that with Edit scheme… of your project.

Regards,
Stephan



mkbuild.sh
Description: Binary data


Re: Compiling LyX on Mac OS 10.7.5

2013-04-27 Thread Stephan Witt
Am 26.04.2013 um 18:46 schrieb Elmar Hinz :

> 
> On Fri, Apr 26, 2013 at 6:29 PM, Kornel Benko  wrote:
> Am Freitag, 26. April 2013 um 18:23:56, schrieb Elmar Hinz 
> 
> > Hello,
> >
> > IMHO there is no libc6 for mac. There is a
> >
> > /usr/lib/libSystem.dylib -> libSystem.B.dylib
> >
> > Elmar
> >
>  
> Is there also a appropriate devel *package*?
>  
> Kornel
> 
> I find a _debug* and a _profile* variant:
> 
> -r-xr-xr-x  1 root  wheel   475K 22 Mär  2012 /usr/lib/libSystem.B.dylib
> -r-xr-xr-x  1 root  wheel   475K 12 Apr  2012 /usr/lib/libSystem.B_debug.dylib
> -r-xr-xr-x  1 root  wheel   475K 12 Apr  2012 
> /usr/lib/libSystem.B_profile.dylib
> lrwxr-xr-x  1 root  wheel17B 22 Mär  2012 /usr/lib/libSystem.dylib -> 
> libSystem.B.dylib
> lrwxr-xr-x  1 root  wheel23B  2 Mär 13:51 /usr/lib/libSystem_debug.dylib 
> -> libSystem.B_debug.dylib
> lrwxr-xr-x  1 root  wheel25B  2 Mär 13:51 
> /usr/lib/libSystem_profile.dylib -> libSystem.B_profile.dylib
> 
> However I am new with Mac OS and still can't explain how it handles the stuff 
> we know as libc6 and libc6-dev.
> This gives start: http://docstore.mik.ua/orelly/unix3/mac/ch05_02.htm
> 
> For today I wanted to learn how to compile LyX and succeded largeley.
> 
> Next step is to bring in a patch to learn the workflow of the project.

Hi Elmar,

I'm building LyX on Mac for packaging with the script you can find in the 
source tree:
lyx/development/LyX-Mac-binary-release.sh

To use the Xcode tool for debugging I'm building LyX with cmake.

I'm building the Qt libs myself, too.

I've made a script to automate this process. 

The top level directory contains 
* the lyx sources in "lyx"
* the qt4 sources destilled from the source tarball
* the build directory for qt and lyx compilation files
* the install directory for the packaged results 

Perhaps you're interested in it, I'll attach it.

To use the debug libraries, you have to control the shared library loader.
You have to add DYLD_IMAGE_SUFFIX=_debug to your environment.

With Xcode you'll do that with "Edit scheme…" of your project.

Regards,
Stephan



mkbuild.sh
Description: Binary data


Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
Hello,

before diving into coding I need to learn how to compile LyX.
The documentation for Mac is a little out-of-date, so I try to
find my own way.

I compiled Qt4 and LyX. The first build did break immediately upon start.
Currently I try to compile both with

export CPPFLAGS=-arch i386
export LDFLAGS=-arch i386

This will take some time. Any further suggestions required for a
contemporary Mac?

Regards

Elmar

-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Benjamin Piwowarski
Hi,

here is the command line I use (with cmake, out of source build) in a build 
directory (different from LyX main directory). It works with QT installed via 
the QT installer package (not from source):

cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF 
-DLYX_DEBUG=ON PATH_TO_LYX_MAIN_DIRECTORY

and then

make LyX2.1 (to build the binary only)
or
make package (to get a mac bundle)

Best,
Benjamin

On Apr 26, 2013, at 13:39 , Elmar Hinz t3el...@googlemail.com wrote:

 Hello,
 
 before diving into coding I need to learn how to compile LyX.
 The documentation for Mac is a little out-of-date, so I try to
 find my own way.
 
 I compiled Qt4 and LyX. The first build did break immediately upon start.   
 Currently I try to compile both with 
 
 export CPPFLAGS=-arch i386
 export LDFLAGS=-arch i386 
 
 This will take some time. Any further suggestions required for a contemporary 
 Mac?
 
 Regards
 
 Elmar
 
 -- 
 Elmar Hinz
 Freiherr-vom-Stein-Str. 1
 33014 Bad Driburg
 
 TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
 personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m
 



Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
here is the command line I use (with cmake, out of source build) in a build
directory (different from LyX main directory). It works with QT installed
via the QT installer package (not from source):


 cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF
 -DLYX_DEBUG=ON PATH_TO_LYX_MAIN_DIRECTORY

 and then

 make LyX2.1 (to build the binary only)
 or
 make package (to get a mac bundle)

 Best,
 Benjamin


Hello Benjamin,

I did:

 brew install cmake
 cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF
-DLYX_DEBUG=ON . # = DOT, current dir

It is missing libintl.h. Sie issue is mentioned here:
http://www.gnu.org/software/gnulib/manual/html_node/libintl_002eh.html

It tried to fix it with   brew install gettext unforutnatly without
success.

Any other workaround?

Elmar


-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
Summary:

* QT 4.8.4 installed via the QT installer package (not from source)
* brew install cmake
* cmake -DLYX_NLS=OFF -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON
-DLYX_RELEASE=OFF -DLYX_DEBUG=ON -DLYX_EXTERNAL_LIBINTL=OFF .
* make
* make install

Errors from cmake:

CMake Error: Target LyX Info.plist template
/Users/elmar/lyx/build/src/../Info.plist could not be found.

Errors from make install:

-- fixup_bundle
--   app='/Users/elmar/lyx/LyX/LyX.app'
--   libs=''
--   dirs=''
-- warning: *NOT* handled - .app directory case...
CMake Error at /usr/local/Cellar/cmake/
2.8.10.2/share/cmake/Modules/BundleUtilities.cmake:668 (message):
  error: fixup_bundle: not a valid bundle

The second one seems to be cased by the first one.

The application  LyX/LyX.app/Contents/MacOS/LyX is running an looks fine.

Regards

Elmar


-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Kornel Benko
Am Freitag, 26. April 2013 um 16:44:22, schrieb Elmar Hinz 
t3el...@googlemail.com
 here is the command line I use (with cmake, out of source build) in a build
 directory (different from LyX main directory). It works with QT installed
 via the QT installer package (not from source):
 
 
  cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF
  -DLYX_DEBUG=ON PATH_TO_LYX_MAIN_DIRECTORY
 
  and then
 
  make LyX2.1 (to build the binary only)
  or
  make package (to get a mac bundle)
 
  Best,
  Benjamin
 
 
 Hello Benjamin,
 
 I did:
 
  brew install cmake
  cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF
 -DLYX_DEBUG=ON . # = DOT, current dir
 
 It is missing libintl.h. Sie issue is mentioned here:
 http://www.gnu.org/software/gnulib/manual/html_node/libintl_002eh.html
 
 It tried to fix it with   brew install gettext unforutnatly without
 success.
 
 Any other workaround?

Sure.
a.) You could use the lyx-provided libintl with
cmake ... -DLYX_EXTERNAL_LIBINTL=OFF ...

or prefered:
b.) Install the devel package for libc6 (on ubuntu libc6-dev)

 Elmar
 
Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
 The second one seems to be cased by the first one.


OK didn't follow the instruction:

make LyX2.1 (to build the binary only)
or
make package (to get a mac bundle)

Elmar

-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
 or prefered:

 b.) Install the devel package for libc6 (on ubuntu libc6-dev)



  Elmar

 

 Kornel


Hello,

IMHO there is no libc6 for mac. There is a

/usr/lib/libSystem.dylib - libSystem.B.dylib

Elmar

-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Kornel Benko
Am Freitag, 26. April 2013 um 18:23:56, schrieb Elmar Hinz 
t3el...@googlemail.com
 Hello,
 
 IMHO there is no libc6 for mac. There is a
 
 /usr/lib/libSystem.dylib - libSystem.B.dylib
 
 Elmar
 

Is there also a appropriate devel *package*?

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
 OK didn't follow the instruction:
 make LyX2.1 (to build the binary only)
 or
 make package (to get a mac bundle)


Anyway, That doesn't bring in the missing Info.plist.

Question: Why is there no Info.plist in the source?

-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
On Fri, Apr 26, 2013 at 6:29 PM, Kornel Benko kor...@lyx.org wrote:

 **

 Am Freitag, 26. April 2013 um 18:23:56, schrieb Elmar Hinz 
 t3el...@googlemail.com

  Hello,

 

  IMHO there is no libc6 for mac. There is a

 

  /usr/lib/libSystem.dylib - libSystem.B.dylib

 

  Elmar

 



 Is there also a appropriate devel *package*?



 Kornel


I find a _debug* and a _profile* variant:

-r-xr-xr-x  1 root  wheel   475K 22 Mär  2012 /usr/lib/libSystem.B.dylib
-r-xr-xr-x  1 root  wheel   475K 12 Apr  2012
/usr/lib/libSystem.B_debug.dylib
-r-xr-xr-x  1 root  wheel   475K 12 Apr  2012
/usr/lib/libSystem.B_profile.dylib
lrwxr-xr-x  1 root  wheel17B 22 Mär  2012 /usr/lib/libSystem.dylib -
libSystem.B.dylib
lrwxr-xr-x  1 root  wheel23B  2 Mär 13:51
/usr/lib/libSystem_debug.dylib - libSystem.B_debug.dylib
lrwxr-xr-x  1 root  wheel25B  2 Mär 13:51
/usr/lib/libSystem_profile.dylib - libSystem.B_profile.dylib

However I am new with Mac OS and still can't explain how it handles the
stuff we know as libc6 and libc6-dev.
This gives start: http://docstore.mik.ua/orelly/unix3/mac/ch05_02.htm

For today I wanted to learn how to compile LyX and succeded largeley.

Next step is to bring in a patch to learn the workflow of the project.

Regards

Elmar


-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Kornel Benko
Am Freitag, 26. April 2013 um 18:31:11, schrieb Elmar Hinz 
t3el...@googlemail.com
 
 Anyway, That doesn't bring in the missing Info.plist.
 
 Question: Why is there no Info.plist in the source?

There is. It should be created from Info.plist.in at configure time.
That file itself is in the build-directory.
(See main-CMakeLists.txt:308)

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Re: Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Kornel Benko
Am Freitag, 26. April 2013 um 18:46:17, schrieb Elmar Hinz 
t3el...@googlemail.com
 
 I find a _debug* and a _profile* variant:

No, what you found are files, not packages.
Check please to which package belongs a specified file.
(I don't know how, sorry)

Kornel

signature.asc
Description: This is a digitally signed message part.


Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
Hello,

before diving into coding I need to learn how to compile LyX.
The documentation for Mac is a little out-of-date, so I try to
find my own way.

I compiled Qt4 and LyX. The first build did break immediately upon start.
Currently I try to compile both with

export CPPFLAGS="-arch i386"
export LDFLAGS="-arch i386"

This will take some time. Any further suggestions required for a
contemporary Mac?

Regards

Elmar

-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Benjamin Piwowarski
Hi,

here is the command line I use (with cmake, out of source build) in a build 
directory (different from LyX main directory). It works with QT installed via 
the QT installer package (not from source):

cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF 
-DLYX_DEBUG=ON PATH_TO_LYX_MAIN_DIRECTORY

and then

make LyX2.1 (to build the binary only)
or
make package (to get a mac bundle)

Best,
Benjamin

On Apr 26, 2013, at 13:39 , Elmar Hinz  wrote:

> Hello,
> 
> before diving into coding I need to learn how to compile LyX.
> The documentation for Mac is a little out-of-date, so I try to
> find my own way.
> 
> I compiled Qt4 and LyX. The first build did break immediately upon start.   
> Currently I try to compile both with 
> 
> export CPPFLAGS="-arch i386"
> export LDFLAGS="-arch i386" 
> 
> This will take some time. Any further suggestions required for a contemporary 
> Mac?
> 
> Regards
> 
> Elmar
> 
> -- 
> Elmar Hinz
> Freiherr-vom-Stein-Str. 1
> 33014 Bad Driburg
> 
> TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
> personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m
> 



Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
here is the command line I use (with cmake, out of source build) in a build
directory (different from LyX main directory). It works with QT installed
via the QT installer package (not from source):

>
> cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF
> -DLYX_DEBUG=ON PATH_TO_LYX_MAIN_DIRECTORY
>
> and then
>
> make LyX2.1 (to build the binary only)
> or
> make package (to get a mac bundle)
>
> Best,
> Benjamin
>

Hello Benjamin,

I did:

> brew install cmake
> cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF
-DLYX_DEBUG=ON . # <= DOT, current dir

It is missing "libintl.h". Sie issue is mentioned here:
http://www.gnu.org/software/gnulib/manual/html_node/libintl_002eh.html

It tried to fix it with  "> brew install gettext" unforutnatly without
success.

Any other workaround?

Elmar


-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
Summary:

* QT 4.8.4 installed via the QT installer package (not from source)
* brew install cmake
* cmake -DLYX_NLS=OFF -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON
-DLYX_RELEASE=OFF -DLYX_DEBUG=ON -DLYX_EXTERNAL_LIBINTL=OFF .
* make
* make install

Errors from cmake:

CMake Error: Target LyX Info.plist template
"/Users/elmar/lyx/build/src/../Info.plist" could not be found.

Errors from make install:

-- fixup_bundle
--   app='/Users/elmar/lyx/LyX/LyX.app'
--   libs=''
--   dirs=''
-- warning: *NOT* handled - .app directory case...
CMake Error at /usr/local/Cellar/cmake/
2.8.10.2/share/cmake/Modules/BundleUtilities.cmake:668 (message):
  error: fixup_bundle: not a valid bundle

The second one seems to be cased by the first one.

The application  LyX/LyX.app/Contents/MacOS/LyX is running an looks fine.

Regards

Elmar


-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Kornel Benko
Am Freitag, 26. April 2013 um 16:44:22, schrieb Elmar Hinz 

> here is the command line I use (with cmake, out of source build) in a build
> directory (different from LyX main directory). It works with QT installed
> via the QT installer package (not from source):
> 
> >
> > cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF
> > -DLYX_DEBUG=ON PATH_TO_LYX_MAIN_DIRECTORY
> >
> > and then
> >
> > make LyX2.1 (to build the binary only)
> > or
> > make package (to get a mac bundle)
> >
> > Best,
> > Benjamin
> >
> 
> Hello Benjamin,
> 
> I did:
> 
> > brew install cmake
> > cmake -DLYX_BUNDLE=ON -DLYX_COCOA=ON -DLYX_INSTALL=ON -DLYX_RELEASE=OFF
> -DLYX_DEBUG=ON . # <= DOT, current dir
> 
> It is missing "libintl.h". Sie issue is mentioned here:
> http://www.gnu.org/software/gnulib/manual/html_node/libintl_002eh.html
> 
> It tried to fix it with  "> brew install gettext" unforutnatly without
> success.
> 
> Any other workaround?

Sure.
a.) You could use the lyx-provided libintl with
cmake ... -DLYX_EXTERNAL_LIBINTL=OFF ...

or prefered:
b.) Install the devel package for libc6 (on ubuntu libc6-dev)

> Elmar
> 
Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
> The second one seems to be cased by the first one.
>

OK didn't follow the instruction:

make LyX2.1 (to build the binary only)
or
make package (to get a mac bundle)

Elmar

-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
> or prefered:
>
> b.) Install the devel package for libc6 (on ubuntu libc6-dev)
>
>
>
> > Elmar
>
> >
>
> Kornel
>

Hello,

IMHO there is no libc6 for mac. There is a

/usr/lib/libSystem.dylib -> libSystem.B.dylib

Elmar

-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Kornel Benko
Am Freitag, 26. April 2013 um 18:23:56, schrieb Elmar Hinz 

> Hello,
> 
> IMHO there is no libc6 for mac. There is a
> 
> /usr/lib/libSystem.dylib -> libSystem.B.dylib
> 
> Elmar
> 

Is there also a appropriate devel *package*?

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
> OK didn't follow the instruction:
> make LyX2.1 (to build the binary only)
> or
> make package (to get a mac bundle)
>

Anyway, That doesn't bring in the missing Info.plist.

Question: Why is there no Info.plist in the source?

-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Elmar Hinz
On Fri, Apr 26, 2013 at 6:29 PM, Kornel Benko  wrote:

> **
>
> Am Freitag, 26. April 2013 um 18:23:56, schrieb Elmar Hinz <
> t3el...@googlemail.com>
>
> > Hello,
>
> >
>
> > IMHO there is no libc6 for mac. There is a
>
> >
>
> > /usr/lib/libSystem.dylib -> libSystem.B.dylib
>
> >
>
> > Elmar
>
> >
>
>
>
> Is there also a appropriate devel *package*?
>
>
>
> Kornel
>

I find a _debug* and a _profile* variant:

-r-xr-xr-x  1 root  wheel   475K 22 Mär  2012 /usr/lib/libSystem.B.dylib
-r-xr-xr-x  1 root  wheel   475K 12 Apr  2012
/usr/lib/libSystem.B_debug.dylib
-r-xr-xr-x  1 root  wheel   475K 12 Apr  2012
/usr/lib/libSystem.B_profile.dylib
lrwxr-xr-x  1 root  wheel17B 22 Mär  2012 /usr/lib/libSystem.dylib ->
libSystem.B.dylib
lrwxr-xr-x  1 root  wheel23B  2 Mär 13:51
/usr/lib/libSystem_debug.dylib -> libSystem.B_debug.dylib
lrwxr-xr-x  1 root  wheel25B  2 Mär 13:51
/usr/lib/libSystem_profile.dylib -> libSystem.B_profile.dylib

However I am new with Mac OS and still can't explain how it handles the
stuff we know as libc6 and libc6-dev.
This gives start: http://docstore.mik.ua/orelly/unix3/mac/ch05_02.htm

For today I wanted to learn how to compile LyX and succeded largeley.

Next step is to bring in a patch to learn the workflow of the project.

Regards

Elmar


-- 
Elmar Hinz
Freiherr-vom-Stein-Str. 1
33014 Bad Driburg

TYPO3 community contact: t.3.e.l.m.a...@.g.m.a.i.l.dot.c.o.m
personal contact: e.l.m.a.r.dot.h.i.n...@.g.m.a.i.l.dot.c.o.m


Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Kornel Benko
Am Freitag, 26. April 2013 um 18:31:11, schrieb Elmar Hinz 

> 
> Anyway, That doesn't bring in the missing Info.plist.
> 
> Question: Why is there no Info.plist in the source?

There is. It should be created from Info.plist.in at configure time.
That file itself is in the build-directory.
(See main-CMakeLists.txt:308)

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Re: Re: Re: Compiling LyX on Mac OS 10.7.5

2013-04-26 Thread Kornel Benko
Am Freitag, 26. April 2013 um 18:46:17, schrieb Elmar Hinz 

> 
> I find a _debug* and a _profile* variant:

No, what you found are files, not packages.
Check please to which package belongs a specified file.
(I don't know how, sorry)

Kornel

signature.asc
Description: This is a digitally signed message part.