|
|
| Author |
Message |
gotissues68
RealPoor Sensei

Joined: 21 Aug 2003 Posts: 1866
|
Posted: 05/06/05 - 01:05 Post subject: I need help you freebsd f**s
|
|
|
Why in the f**k doesn't the pthread library f*****g work goddmanit f**k..
bash-2.05b# ./configure --prefix=/usr/local/mt-daapd --with-gdbm=/usr/local --with-gdbm-includes=/usr/local/include --with-id3tag=/usr/local/id3tag --enable-sqlite --with-freebsd
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for bison... no
checking for byacc... byacc
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking build system type... i386-unknown-freebsd5.1
checking host system type... i386-unknown-freebsd5.1
checking for pthread_creat in -lc_r... no
checking for pthread_create in -lpthread... no
Host type is i386-unknown-freebsd5.1
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking id3tag.h usability... yes
checking id3tag.h presence... yes
checking for id3tag.h... yes
checking for id3_file_open in -lid3tag... yes
checking sqlite.h usability... yes
checking sqlite.h presence... yes
checking for sqlite.h... yes
checking for sqlite_open in -lsqlite... yes
checking for strcasestr... yes
checking for strsep... yes
checking for atoll... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for socket in -lsocket... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating admin-root/Makefile
config.status: creating contrib/Makefile
config.status: creating debian/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
I've googled my c**k off and can't find much.. I built the libs from /usr/src/lib/libc_r and /usr/src/lib/pthread ... which to be honest I'm not sure I needed to do. The only thing I could really find is that threading support was experimental until not too long ago argh
|
|
|
Back to top
|
|
|
|
 |
Frashii
Sir Postalot

Joined: 11 Oct 2002 Posts: 1338
Location: Anchorage, AK
|
Posted: 05/06/05 - 02:45 Post subject:
|
|
|
What are you compiling ?
Why not get it from the ports tree ? or find it in the ports tree and look at how it enables the ptheads ?
|
|
|
Back to top
|
|
|
|
 |
khrath
Guest
|
Posted: 05/06/05 - 05:39 Post subject:
|
|
|
try this
| Code: |
LDFLAGS=-pthread ./configure --prefix=/usr/local/mt-daapd --with-gdbm=/usr/local --with-gdbm-includes=/usr/local/include --with-id3tag=/usr/local/id3tag --enable-sqlite --with-freebsd
|
and yah, wtf are you trying to install?
|
|
|
Back to top
|
|
|
|
 |
gotissues68
RealPoor Sensei

Joined: 21 Aug 2003 Posts: 1866
|
Posted: 05/06/05 - 07:55 Post subject:
|
|
|
|
hey frash and khrath.. its some weird itunes streaming server thing my buddy wants to run .. the freebsd box is his.. unfortunately there is nothing in the ports tree for it yet otherwise I would have totally gone that way. BTW Kraft exporting LDFLAGS worked =) thanks much .. I hadn't thought to pass -pthreads as a linker flag derr..
|
|
|
Back to top
|
|
|
|
 |
khrath
Guest
|
Posted: 05/06/05 - 08:04 Post subject:
|
|
|
np, i just read up a bit on pthreads and found it.
There is actually a hard fix you can use in make.conf, but, it'll effect the whole system, and you dont need that
|
|
|
Back to top
|
|
|
|
 |
Callaren
RealPoor Sensei

Joined: 03 Dec 2003 Posts: 1598
Location: South Jersey
|
Posted: 05/06/05 - 10:25 Post subject:
|
|
|
|
Windows XP
|
|
|
Back to top
|
|
|
|
 |
gotissues68
RealPoor Sensei

Joined: 21 Aug 2003 Posts: 1866
|
Posted: 05/06/05 - 10:37 Post subject:
|
|
|
| Callaren wrote: | | Windows XP |
hellllllllllllllllllll no
|
|
|
Back to top
|
|
|
|
 |
|
|