Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8671 - GNUMP3d does not compile
Summary: GNUMP3d does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-02 23:25 UTC by Aaron
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild and patches for GNUMP3d-pre1 (gnump3d_pre1.tar.bz2,2.09 KB, application/octet-stream)
2002-10-18 14:04 UTC, Joe Tennies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron 2002-10-02 23:25:23 UTC
I'm using gentoo 1.4 and having problems emerging this. During the
compile process, I get this error:

In file included from /usr/include/g++-v32/backward/vector.h:59,
                 from settings.h:40,
                 from settings.c:39:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
settings.c: In member function `void
   CServerSettings::initConfigFile(std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >)':
settings.c:166: `ifstream' undeclared (first use this function)
settings.c:166: (Each undeclared identifier is reported only once for each
   function it appears in.)
settings.c:166: parse error before `;' token
settings.c:169: `file' undeclared (first use this function)
make[1]: *** [settings.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnump3d-0.9.9.4/work/gnump3d-0.9.9.4/src'
make: *** [linux] Error 2
Comment 1 SpanKY gentoo-dev 2002-10-03 10:28:08 UTC
a typical 2.95.x -> 3.x compile error ... 
you should just need a 'using namespace std;' at the top of that file 
Comment 2 Nick Hadaway 2002-10-07 09:27:24 UTC
gunmp3d-1.0-pre1 is currently out.  I have emailed the upstream author to 
request an expected 1.0 release time.  As soon as I get a response back I will 
let you know.  If there isn't an expected release for a while I will get 
1.0-pre1 in portage which should fix the related problems. 
Comment 3 Joe Tennies 2002-10-18 14:04:24 UTC
Created attachment 4804 [details]
ebuild and patches for GNUMP3d-pre1

This fixes the compile issue w/ GNUMP3d on 1.4 (which is why I originally
started writing it).

Please test on GCC 2.95.3 and GCC 3.1 before adding to portage and unmasking. 
Works great on my computer.
Comment 4 Jerel Cobb 2002-10-19 23:44:10 UTC
it seemed to compile fine, but after running it i was unable to browse/play mp3s
from the correctly generated 'homepage'.  i could not stop the daemon from
running nicely, so i had to kill -9 it.
Comment 5 Andrew Sayman 2002-12-01 11:04:04 UTC
GNUmp3d 1.0 has been released. 
Comment 6 Nick Hadaway 2002-12-18 18:51:45 UTC
gnump3d-1.0 has been added to portage.  Please test this new version and let 
me know how things go.
Comment 7 Nick Hadaway 2003-01-02 01:10:16 UTC
I have updated the ebuild in portage with new rc scripts, removed a debian-
specific gnump3d-config, and gnump3d-specific libraries are now 
in /usr/lib/gnump3d instead of /usr/lib.  Ebuild now creates /var/log/gnump3d
as well.
Comment 8 Nick Hadaway 2003-01-16 21:22:23 UTC
gnump3d-1.0 has been marked stable