alexor | 1 Jan 11:06
Picon

Re: Problem with qt4-x11 from mac newcomer


thank you for the reply. I am using Leopard on a MacBook.

On closer inspection of the log there is 

c++ -c -pipe -Os -Wall -W -D__USE_WS_X11__ -I../../../mkspecs/darwin-g++ -I.
-I. -o iconv.o iconv.cpp
c++ -headerpad_max_install_names
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
-prebind -o iconv iconv.o     
Undefined symbols:
  "_iconv", referenced from:
      _main in iconv.o
  "_iconv_close", referenced from:
      _main in iconv.o
  "_iconv_open", referenced from:
      _main in iconv.o

There seems to be a lot of activity on the fink lists regarding this problem
(not only in relation to qt4-x11) and I am not sure how to resolve it. I
tried various suggestions that had been posted and I even tried moving the
/usr/local directory out of the way but to no avail - stumped. I reinstalled
libiconv-dev, libiconv-bin and libiconv.

Your explanation would make sense to me - it appears as though the header
and the library are not matching. 

thanks Alex

Martin Costabel wrote:
(Continue reading)

Martin Costabel | 1 Jan 11:46
Picon

Re: Problem with qt4-x11 from mac newcomer

alexor wrote:
> thank you for the reply. I am using Leopard on a MacBook.
> 
> On closer inspection of the log there is 
> 
> c++ -c -pipe -Os -Wall -W -D__USE_WS_X11__ -I../../../mkspecs/darwin-g++ -I.
> -I. -o iconv.o iconv.cpp
> c++ -headerpad_max_install_names
> -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> -prebind -o iconv iconv.o     
> Undefined symbols:
>   "_iconv", referenced from:
>       _main in iconv.o
>   "_iconv_close", referenced from:
>       _main in iconv.o
>   "_iconv_open", referenced from:
>       _main in iconv.o

I am seeing this, too, but it does not prevent qt4-x11 from building 
correctly. In fact, you have to put it into its context. In my build 
log, I see that paragraph preceded by

POSIX iconv auto-detection... ()

and ended by

ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [iconv] Error 1
POSIX iconv disabled.
(Continue reading)

alexor | 1 Jan 13:02
Picon

Re: Problem with qt4-x11 from mac newcomer


Hi,
I am using   System Version:	Mac OS X 10.5.1 (9B18), Kernel Version:	Darwin
9.1.0 with xcode 3.0, gcc version 4.0.1 (Apple Inc. build 5465)

I don't know if this helps but I renamed /usr/include/iconv.h to iconv.xxx
to make sure that it didn't get picked up. This time when I ran fink
reinstall qt4-x11 it ran for a very long time and seemed to get to a "make
install" stage. It failed with "qt4-x11/plugins/codecs: No such file or
directory"

Some more context below.

thanks Martin

/bin/rm -rf /sw/src/fink.build/root-qt4-x11-core-shlibs-4.3.2-1021
/bin/mkdir -p /sw/src/fink.build/root-qt4-x11-core-shlibs-4.3.2-1021/sw
/bin/mkdir -p /sw/src/fink.build/root-qt4-x11-core-shlibs-4.3.2-1021/DEBIAN
/usr/sbin/chown -R root:admin
/sw/src/fink.build/root-qt4-x11-core-shlibs-4.3.2-1021
/usr/bin/install -d -m 755
/sw/src/fink.build/root-qt4-x11-core-shlibs-4.3.2-1021/sw/lib/qt4-x11/lib
/bin/mv
/sw/src/fink.build/root-qt4-x11-4.3.2-1021/sw/lib/qt4-x11/lib/libQtCore.4*.dylib
/sw/src/fink.build/root-qt4-x11-core-shlibs-4.3.2-1021/sw/lib/qt4-x11/lib/
/bin/mv
/sw/src/fink.build/root-qt4-x11-4.3.2-1021/sw/lib/qt4-x11/lib/libQtDBus.4*.dylib
/sw/src/fink.build/root-qt4-x11-core-shlibs-4.3.2-1021/sw/lib/qt4-x11/lib/
/bin/mv
/sw/src/fink.build/root-qt4-x11-4.3.2-1021/sw/lib/qt4-x11/lib/libQtNetwork.4*.dylib
(Continue reading)

Claus Atzenbeck | 2 Jan 09:09
Picon
Favicon

alpine compiling error

Hello:

I have a problem compiling alpine 1.00. Any hint?

The error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -std=gnu99 -g -D_THREAD_SAFE -Dbsd -g -O2 -o alpined alpined.o busy.o color.o imap.o ldap.o remote.o
signal.o debug.o status.o stubs.o local.o -framework Carbon -framework ApplicationServices
-framework Security  -L/usr/lib -lgssapi_krb5 -lkrb5 -lcom_err -lpam -ldl -lcrypto -L/sw/lib
../../../pith/libpith.a ../../../pith/osdep/libpithosd.a ../../../pith/charconv/libpithcc.a
../../../c-client/c-client.a -ltcl8.4 -lldap -lncurses -llber -lssl
/usr/bin/ld: Undefined symbols:
_libintl_gettext
collect2: ld returned 1 exit status
make[2]: *** [alpined] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
[...]
Failed: phase compiling: alpine-1.00-1001 failed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

My setting:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ fink: ]
Package manager version: 0.27.9
Distribution version: 0.8.1.rsync powerpc
[ OS: ]
ProductName:	Mac OS X
ProductVersion:	10.4.11
(Continue reading)

Adrian Prantl | 2 Jan 10:16
Favicon

XeTeX compile error on Leopard

Happy new year!

I am getting a make error when installing the xetex package on 10.5.1

make[0]: Making `all' in `stubdata'
generating dependency information for 
../../../../libs/icu-xetex/stubdata/stubdata.c
stubdata.d:1: *** missing separator.  Stop.
make: *** [all-recursive] Error 2
### execution of /var/tmp/tmp.2.zfl3dY failed, exit code 1

thanks,
Adrian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Martin Costabel | 2 Jan 11:48
Picon

Re: alpine compiling error

Claus Atzenbeck wrote:
> Hello:
> 
> I have a problem compiling alpine 1.00. Any hint?
> 
> The error message:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gcc -std=gnu99 -g -D_THREAD_SAFE -Dbsd -g -O2 -o alpined alpined.o busy.o color.o imap.o ldap.o
remote.o signal.o debug.o status.o stubs.o local.o -framework Carbon -framework
ApplicationServices -framework Security  -L/usr/lib -lgssapi_krb5 -lkrb5 -lcom_err -lpam -ldl
-lcrypto -L/sw/lib ../../../pith/libpith.a ../../../pith/osdep/libpithosd.a
../../../pith/charconv/libpithcc.a ../../../c-client/c-client.a -ltcl8.4 -lldap -lncurses
-llber -lssl
> /usr/bin/ld: Undefined symbols:
> _libintl_gettext
> collect2: ld returned 1 exit status
> make[2]: *** [alpined] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> [...]
> Failed: phase compiling: alpine-1.00-1001 failed

The symbol in question is in libintl.dylib if you have libgettext3 
installed, but I don't see why and where it should be pulled in.

It may ba a missing dependency on gettext-tools. Do you have 
gettext-tools installed? The build process uses /sw/bin/xgettext from 
that package when it is available, and probably compiles additional 
things when not.
(Continue reading)

Claus Atzenbeck | 2 Jan 12:03
Picon
Favicon

Re: alpine compiling error

On Wed, 2 Jan 2008, Martin Costabel wrote:

> The symbol in question is in libintl.dylib if you have libgettext3 installed,
> but I don't see why and where it should be pulled in.

I have libgettext3 installed. If I recall correctly, it was installed
additionally with alpine.

> It may ba a missing dependency on gettext-tools. Do you have gettext-tools
> installed? The build process uses /sw/bin/xgettext from that package when it
> is available, and probably compiles additional things when not.

gettext-tools are installed; /sw/bin/xgettext exists.

Cheers,
Claus

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Picon

install-info issues

Hi,

while creating the ECL package I came with these errors:

-----------------------------
for k in ecl.info ecldev.info ; do \
	  /usr/bin/install -c -m 644 $k /sw/src/fink.build/root-ecl-0.9j-p1-1/ 
sw/share/info; \
	  if [ -x /sw/sbin/install-info ]; then \
	    /sw/sbin/install-info --info-dir=/sw/src/fink.build/root-ecl-0.9j- 
p1-1/sw/share/info $k; \
	  fi; \
	done
* ecl: (ecl). Embeddable Common Lisp (ECL) User's Manual
install-info(ecl.info): no backup file /var/backups/infodir.bak  
available.
install-info(ecl.info): no default file /usr/share/base-files/info.dir  
available, giving up.
* ecldev: (ecldev). Embeddable Common Lisp (ECL) Developer's Manual
install-info(ecldev.info): no backup file /var/backups/infodir.bak  
available.
install-info(ecldev.info): no default file /usr/share/base-files/ 
info.dir available, giving up.
-----------------------------

I solved it by commenting the install-info line as Fink already  
registers the info files registered by the package file.

So, the question is if this the right way to do it. Also, the /sw/sbin/ 
install-info seems to point to the wrong info directories.
(Continue reading)

Kevin Horton | 2 Jan 22:16
Favicon

Wine font problems

I built wine 0.9.44-1 on Intel running OS X 10.5.1.  It built OK, but  
there are two problems, possibly related.

1. If I try the test suggested in wine.info ("wine /sw/bin/notepad"),  
it fails like this:

wine: could not load L"Z:\\sw\\bin\\notepad.": Bad EXE format for

I can get notepad to run if I do: "wine ~/.wine/drive_c/windows/ 
notepad.exe"

2. All applications are unusable, as the menus are displayed with  
bizarre "X"s, check boxes, etc in place of all the letters.  It seems  
that wine has font problems.  I did try:

export LD_LIBRARY_PATH=/sw/lib
/sw/bin/wineprefixcreate

I also tried to run winecfg as suggested in the Wine User's Guide, but  
it was not usable due to the same font problems.  I tried installing  
msttcorefonts and applesystemfonts, but neither of them helped.  I  
restarted the computer.  Nothing helped.

Googling seems to suggest that fonts can be defined in wine's config  
file, but I cannot find it.  It is not in ~/.wine, nor in /sw/lib/ 
wine, nor in /sw/share/wine.

Any advice would be appreciated.  A few details of my fink installation:

% fink -V | head -n 2:
(Continue reading)

Martin Costabel | 2 Jan 22:35
Picon

Re: Wine font problems

Kevin Horton wrote:
> I built wine 0.9.44-1 on Intel running OS X 10.5.1.  It built OK, but  
> there are two problems, possibly related.
> 
> 1. If I try the test suggested in wine.info ("wine /sw/bin/notepad"),  

The command is simply "notepad" without "wine", it starts wine by itself.

There is a new version of wine on the submission tracker which you could 
try.

--

-- 
Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane