Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] [Texmacs] Building on mac OS X El Capitan

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] [Texmacs] Building on mac OS X El Capitan


Chronological Thread 
  • From: Massimiliano Gubinelli <address@hidden>
  • To: LE JOLLY David <address@hidden>
  • Cc: Karl Hegbloom <address@hidden>, address@hidden
  • Subject: Re: [TeXmacs] [Texmacs] Building on mac OS X El Capitan
  • Date: Sat, 4 Jun 2016 11:23:45 +0200

There is something wrong in this dandling “-L”. Can you report which options you use for ./configure ?

I do not use brew, how is ./configure finding the libraries on your system? via pkg-config?

As a last resource you can always override the choice of ./configure by setting some environment variables, for example (under OSX)

./configure \
  --enable-macosx-extensions\
  --enable-qt  \
  GUILE_BIN=guile \
  GUILE_CFLAGS="`pkg-config --static --cflags guile-1.8`" \
  GUILE_LDFLAGS="`pkg-config --static --libs guile-1.8`" \
  GUILE_DATA_PATH="`pkg-config --variable=datadir guile-1.8`" \
  GUILE_VERSION="`pkg-config --modversion guile-1.8`" \
  FREETYPE_CFLAGS="`pkg-config --static --cflags freetype2`" \
  FREETYPE_LDFLAGS="`pkg-config --static --libs freetype2`" 



best
max


On 04 Jun 2016, at 11:15, LE JOLLY David <address@hidden> wrote:

Building failed in linking phase :

g++ -L/usr/local/Cellar/guile18/1.8.8/lib -L -framework Cocoa -framework IOKit -headerpad_max_install_names -arch x86_64 -mmacosx-version-min=10.5 -dynamic    *****all .o files*****

clang: error: no such file or directory: 'Cocoa'
make[1]: *** [Objects/texmacs-shared.bin] Error 1
make: *** [TEXMACS] Error 2

Cocoa is normally provided by Xcode. If someone fluent with OS  X has an idea ?

2016-06-04 10:38 GMT+02:00 LE JOLLY David <address@hidden>:
Finally succeeded running configure by hard coding LDFLAGS (to delete empty -L option) at two places (the second is for the native renderer check).

2016-06-04 10:18 GMT+02:00 LE JOLLY David <address@hidden>:
In fact, freetype is found but it seems there is an error while generating compilation options :

configure:10612: checking for freetype
configure:10631: g++ -o conftest -g -O2  -I/usr/local/Cellar/freetype/2.6.3/include/freetype2  -L/usr/local/Cellar/guile18/1.8.8/lib -L conftest.cpp  -L/usr/local/Cellar/guile18/1.8.8/lib -L -L/usr/local/Cellar/freetype/2.6.3/lib -lfreetype >&5
ld: warning: -L path 'conftest.cpp' is not a directory
ld: warning: directory not found for option '-L-L/usr/local/Cellar/freetype/2.6.3/lib'
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

there is an empty  -L option generated that prevents /usr/local/Cellar/freetype/2.6.3/lib to be correctly used. Don't know why.

2016-06-04 4:57 GMT+02:00 Karl Hegbloom <address@hidden>:

--with-freetype=/path/to I think.


On Thu, Jun 2, 2016, 01:49 LE JOLLY David <address@hidden> wrote:
Tried your repo but now I get  this error :

checking for freetype... no
configure: error: cannot link freetype library

although I have installed freetype. freetype is installed with brew on OS X. Maybe configure can't find library location. How do you informe configure where to find libraries?

2016-06-02 0:01 GMT+02:00 Karl Hegbloom <address@hidden>:

Unless you use dynamically linked plugins, you probably can run it without that feature.


On Wed, Jun 1, 2016, 14:43 LE JOLLY David <address@hidden> wrote:
Hi,
Trying to build on OS X, I get this error  with configure :

checking for library containing dlopen... no
checking for library containing dld_link... no
checking for library containing shl_load... no
configure: warning: dynamic linking using dlopen will not work


Any idea where to find a library for dynamic linking?

--
Le Jolly David
Résidence Montesquieu porte 6
5Bis rue Montesquieu
49000 ANGERS

06 67 56 57 93
09 53 85 50 79



--
Le Jolly David
Résidence Montesquieu porte 6
5Bis rue Montesquieu
49000 ANGERS

06 67 56 57 93
09 53 85 50 79



--
Le Jolly David
Résidence Montesquieu porte 6
5Bis rue Montesquieu
49000 ANGERS

06 67 56 57 93
09 53 85 50 79



--
Le Jolly David
Résidence Montesquieu porte 6
5Bis rue Montesquieu
49000 ANGERS

06 67 56 57 93
09 53 85 50 79



--
Le Jolly David
Résidence Montesquieu porte 6
5Bis rue Montesquieu
49000 ANGERS

06 67 56 57 93
09 53 85 50 79




Archive powered by MHonArc 2.6.19.

Top of Page