aRts-1.5.10 compile problem
bruce.dubbs at gmail.com
Mon Mar 2 18:46:27 PST 2009
Dr. Edgar Alwers wrote:
> Following svn-20090302 I am trying to compile aRts-1.5.10, with the error
> 'PATH_MAX' was not declared..
> I compiled as preparation all required and recommended dependencies but none
> of the optionals.
> Googling I found exactly my problem described, but the only advice was
> Far as I know this is not a dependency issue with GLib or friends... Can you
> add BUILD_ARGS = "$(BUILD_ARGS) -j1" to the Makefile in libs/arts?
> I frankly do not know what to do with this: I don't have a directory libs,
> there is not a Makefile in a libs directory in the aRts directory and so on.
> And nobody has reported that this problem has been solved.
I downloaded a fresh copy of aRts-1.5.10 and do a configure && make. Everything
was fine. Doing a grep on the source shows that 'PATH_MAX' come up in
If I do
g++ -DHAVE_CONFIG_H -I. -I.. -I../mcop -I../artsc -I../mcop -I../mcop -I../flow
-I../flow -DEXECUTE=\"/usr/local/kde/bin/artsd\" -I/usr/local/kde/include
-I/opt/qt/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT
-D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -ftemplate-depth-99 -MT artsplay.o -MD -MP -MF .deps/artsplay.Tpo
-E -o artsplay.E artsplay.cc
and look at artsplay.E, I see that PATH_MAX is replaced by 4096. My conclusion
is that it is in one of the system include files, but I don't know which one.
Tracing the include files, I see:
#define MAXPATHLEN PATH_MAX
#define PATH_MAX 4096 /* # chars in a path name including nul */
It sounds like you didn't install the linux headers. See LFS 6.7.
Linux-18.104.22.168 API Headers
More information about the blfs-support