Re: Too long command lines



On Thu, 16 May 2002, Christophe Clavel wrote:

> Hi,
> I've been trying to build Nautilus on a SPARC Solaris 2.8 workstation,
> and I get in the following trouble : it seems that some command lines
> generated at configure time are too long, the first example is the
> Makefile generated in the /icons directory : there are 221 .png images
> there, an the generated Makefile looks like that at the icon_DATA line : 
> icon_DATA =  	About_Image.png 	Back.png 	Forward.png 	Home.png 
> Refresh.png 	Search.png 	Stop.png 	Up.png 	SearchWeb.png 	Services.png 
> about_background.png 	audio.png 	backgrounds.png .... <many .png
> filenames> ... i-music-36.png 	i-music-36-aa.png 	i-music-aa.png 	i-
> 
> The list ends by an incomplete filename (i-), that causes the
> compilation to fail.
> 
> This one can be fixe dby editing the Makefile, but I'm stuck when
> compiling ./libs/nautilus : 

This is pretty easy to fix yes.
 
> /bin/sh ../libtool --mode=link /apa/free/bin/gcc  -O2 -msupersparc
> -I./include -I/home/clavelc/local/include -L/home/clavelc/local/lib
> -R/home/clavelc/local/lib -L/home/clavelc/local/lib
> -R/home/clavelc/local/lib -L/work1/KDE_2/qt-2.3.2/lib
> -R/work1/KDE_2/qt-2.3.2/lib -o nautilus 
> nautilus-shell-interface-stubs.o nautilus-shell-interface-skels.o
> nautilus-shell-interface-common.o nautilus-about.o
> nautilus-applicable-views.o nautilus-application.o
> nautilus-bookmark-list.o nautilus-bookmark-parsing.o
> nautilus-bookmarks-window.o nautilus-complex-search-bar.o
> nautilus-component-adapter-factory.o nautilus-desktop-window.o
> nautilus-first-time-druid.o nautilus-link-set-window.o
> nautilus-location-bar.o nautilus-main.o nautilus-navigation-bar.o
> nautilus-preferences-dialog.o nautilus-property-browser.o
> nautilus-search-bar-criterion.o nautilus-search-bar.o
> nautilus-self-check-functions.o nautilus-shell.o nautilus-sidebar-tabs.o
> nautilus-sidebar-title.o nautilus-sidebar.o nautilus-signaller.o
> nautilus-simple-search-bar.o nautilus-switchable-navigation-bar.o
> nautilus-switchable-search-bar.o nautilus-theme-selector.o
> nautilus-view-frame-corba.o nautilus-view-frame.o
> nautilus-window-manage-views.o nautilus-window-menus.o
> nautilus-window-toolbars.o nautilus-window.o nautilus-zoom-control.o
> ../src/file-manager/libnautilus-file-manager.la 
> ../libnautilus/libnautilus.la 
> ../libnautilus-adapter/libnautilus-adapter.la 
> ../libnautilus-private/libnautilus-private.la  
> -L/home/clavelc/local/lib -L/usr/openwin/lib -R/usr/openwin/lib
> -L/home/codesign/local/lib -R/home/clavelc/local/lib
> -L/home/certoux/local/X11/lib -R/home/certoux/local/X11/lib
> -R/home/codesign/local/lib -lbonobo -lbonobox -lbonobo-print
> -lgnomeprint -lgnomecanvaspixbuf -leel -lgconf-gtk-1 -lgconf-1 -loaf
> -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lgdk_imlib -lSM
> -lICE -lgnome -lgnomesupport -lesd -lresolv -lrt -laudiofile -ldb
> -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm -lxml
> -lsocket -lnsl -lgnomevfs -lrsvg -lart_lgpl -lfreetype -lpng -lz 	 
> mkdir .libs
> Output line too long.
> Output line too long.
> Output line too long.
> Output line too long.
> /apa/free/bin/gcc -O2 -msupersparc -I./include
> -I/home/clavelc/local/include -o .libs/nautilus
> nautilus-shell-interface-stubs.o nautilus-shell-interface-skels.o
> nautilus-shell-interface-common.o nautilus-about.o
> nautilus-applicable-views.o nautilus-application.o
> nautilus-bookmark-list.o nautilus-bookmark-parsing.o
> nautilus-bookmarks-window.o nautilus-complex-search-bar.o
> nautilus-component-adapter-factory.o nautilus-desktop-window.o
> nautilus-first-time-druid.o nautilus-link-set-window.o
> nautilus-location-bar.o nautilus-main.o nautilus-navigation-bar.o
> nautilus-preferences-dialog.o nautilus-property-browser.o
> nautilus-search-bar-criterion.o nautilus-search-bar.o
> nautilus-self-check-functions.o nautilus-shell.o nautilus-sidebar-tabs.o
> nautilus-sidebar-title.o nautilus-sidebar.o nautilus-signaller.o
> nautilus-simple-search-bar.o nautilus-switchable-navigation-bar.o
> nautilus-switchable-search-bar.o nautilus-theme-selector.o
> nautilus-view-frame-corba.o nautilus-view-frame.o
> nautilus-window-manage-views.o nautilus-window-menus.o
> nautilus-window-toolbars.o nautilus-window.o nautilus-zoom-control.o 
> -L/home/clavelc/local/lib -L/work1/KDE_2/qt-2.3.2/lib
> ../src/file-manager/.libs/libnautilus-file-manager.al
> ../libnautilus/.libs/libnautilus.so
> ../libnautilus-adapter/.libs/libnautilus-adapter.so
> ../libnautilus-private/.libs/libnautilus-private.so -lm -lm -lm -lm -lm
> -lresolv -lnsl -lsocket /home/clavelc/local/lib/libjpeg.so
> /home/clavelc/local/lib/libiconv.so -L/usr/openwin/lib
> -L/home/codesign/local/lib -L/home/certoux/local/X11/lib
> /home/clavelc/local/lib/libbonobo.so
> /home/clavelc/local/lib/libbonobox.so
> /home/clavelc/local/lib/libbonobo-print.so
> /home/clavelc/local/lib/libgnomeprint.so -lm -lresolv -lnsl -lsocket -lm
> -lm -lresolv -lnsl -lsocket -lm -lm -ldl -ldl -lXext -lX11 -lsocket
> -lnsl -lm -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl -ldl -lXext -lX11
> -lsocket -lnsl -lm -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl -lXext
> -lX11 -lsocket -lnsl -lm -ldl -ldl -lXext -lX11 -lsocket -lnsl -lm
> -lresolv -lm -ldl -lm -lresolv -lm -lz -lresolv -lm -lm -lresolv -lnsl
> -lsocket -lresolv -lm -ldl -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl
> -lXext -lX11 -lsocket -lnsl -lm -ldl -lXext -lX11 -lsocket -lnsl -lm
> -ldl -ldl -lXext -lX11 -lm -lm /home/codesign/local/lib/libxml.so
> -lsocket -lnsl -lsocket -lnsl
> /home/clavelc/local/lib/libgnomecanvaspixbuf.so -lm -lresolv -lnsl
> -lsocket -lm -lm -lresolv -lnsl -lsocket -lm -lm -ldl -ldl -lXext -lX11
> -lsocket -lnsl -lm -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl -ldl -lXext
> -lX11 -lsocket -lnsl -lm -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl
> -lXext -lX11 -lsocket -lnsl -lm -ldl -ldl -lXext -lX11 -lsocket -lnsl
> -lm -lresolv -lm -lm -ldl -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl
> -lXext -lX11 -lsocket -lnsl -lm -ldl -ldl -lXext -lX11 -lm -lresolv -lm
> -lz -lresolv -lm -lm -lresolv -lnsl -lsocket -lresolv -lnsl -lsocket -lm
> -lm /home/clavelc/local/lib/libeel.so -lresolv -ldl -lXext -lX11
> -lsocket -lnsl -lm -lresolv -ldl -lXext -lX11 -lm -lz -lsocket -lnsl -lz
> -lnsl -lsocket -lm -L/usr/ucblib -lnsl -lsocket -lm -lnsl -lsocket -lnsl
> -lsocket -lnsl -lsocket -lresolv -lnsl -lsocket -lm -lsocket -lnsl -lm
> -lsocket -lnsl -lm -ldl -lXext -lX11 -lsocket -lnsl -lm -lresolv -lnsl
> -lsocket -lm -ldl -lresolv -lnsl -lsocket -lm -ldl -lresolv -lnsl
> -lsocket -lm -lresolv -lnsl -lsocket -lresolv -lnsl -lsocket -lresolv
> -lnsl -lsocket /home/clavelc/local/lib/libgnomeui.so -lm -lresolv -lnsl
> -lsocket -lm -lm -lresolv -lnsl -lsocket -lm -lm -ldl -ldl -lXext -lX11
> -lsocket -lnsl -lm -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl -ldl -lXext
> -lX11 -lsocket -lnsl -lm -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl
> -lXext -lX11 -lsocket -lnsl -lm -ldl -ldl -lXext -lX11 -lsocket -lnsl
> -lm -lz -lresolv -lm /home/clavelc/local/lib/libgdk_imlib.so -ldl -lSM
> -lICE /home/clavelc/local/lib/libgnome.so -lm -lz -lresolv -lm
> /home/clavelc/local/lib/libgnomesupport.so -lz -lresolv -lm
> /home/clavelc/local/lib/libesd.so -lm -lm -lresolv -lnsl -lsocket
> -lresolv /home/cla
> gcc: /home/cla: No such file or directory
> make[3]: *** [nautilus] Error 1
> make[3]: Leaving directory `/home/clavelc/GNOME/nautilus-1.0.6/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/clavelc/GNOME/nautilus-1.0.6/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/clavelc/GNOME/nautilus-1.0.6'
> make: *** [all-recursive-am] Error 2
> 
> Any ideas ?

It looks like you're being bitten by the libtool-adds-dups-of-libs problem 
mostly. I know there is a libtool patch availible somewhere that works 
around this.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a suicidal Jewish househusband with a winning smile and a way with the 
ladies. She's a time-travelling insomniac angel who dreams of becoming Elvis. 
They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]