LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2005, 06:22 PM   #1
Steel3
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Rep: Reputation: 0
compiling or installing gtkpod-aac


I apologize if this has been posted before. I'm running on Ubuntu Breezy.

I'd like to use gtkpod-aac to organize a bunch of files that one of my roommates on a mac loaned me, but I haven't found a package for it in universe, backports, and such and I haven't been able to install it from any debs that I've come across. I downloaded the source and satisfied all of the dependencies, but when i run configure I still don't have mp4v2 available or whatever so it says I can't compile it with aac support. I have the libmp4v2-dev package installed. Here's the output:

Configuration for gtkpod 0.94.0 :
--------------------------------

Host System Type .....: i686-pc-linux-gnu
Install path .........: /usr/local
Preprocessor .........: gcc
Compiler .............: gcc -g -O2 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2
Linker ...............: gcc -lmp4v2 -lid3tag -pthread -Wl,--export-dynamic -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXinerama -lXi -lXrandr -lXext -lXcursor -lXfixes -lpango-1.0 -lcairo -lXrender -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
GTK2 version .........: 2.8.6
GLib2/GThread version : 2.8.3
id3tag lib ...........: yes
mp4v2 ................: *** no -- will build without aac support
NLS/gettext ..........: yes

Now type 'make' to build gtkpod 0.94.0,
and then 'make install' for installation.

Any suggestions?
 
Old 11-16-2005, 06:15 AM   #2
gazurtoids
Newbie
 
Registered: Jun 2002
Posts: 9

Rep: Reputation: 0
Hi Steel3,

I've just this second managed to get gtkpod compiled with AAC support. Here's what to do:

1. In your gtkpod source directory, edit src/mp4file.c and change the include line for mp4 to look in the standard include directory.
i.e
#include "mp4.h"
becomes
#include <mp4.h>

2. Edit the config.h file and find the line looking like /* #undef HAVE_LIBMP4V2 */ - it should be line 35. Below it, add:
#define HAVE_LIBMP4V2 1
This will enable the AAC support distabled by ./configure

3. I then came up across a problem in /usr/include/systems.h, line 248 . To solve it, I commented out a section referring to C++. gtkpod is written in C so doesn't need this section but you probably want to uncomment it when done. To do this, comment out the section between lines 246 and 252 like so:
#ifndef HAVE_STRSEP
/*
#ifdef __cplusplus
extern "C" {
#endif
char *strsep(char **strp, const char *delim);
#ifdef __cplusplus
}
#endif
*/
#endif

As a further tip, "checkinstall" is a very useful tool for installing programs compiled from source under ubuntu. Worth using if you don't already know about it.

Enjoy your AAC files!
 
Old 02-10-2006, 07:39 AM   #3
cedeo
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
Still no mp4 support

I made the changes suggested by Gazurtoids above and still got no joy. I did a "make distclean" (I believe that removes any config done by ./configure, right?), but still get no mp4 support when I run ./configure.

Any ideas? I'm running ubuntu 5.10.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
aac/m4a support for JUK / decent aac music players reformedgeek Linux - Newbie 1 04-23-2005 02:52 PM
XMMS-AAC Not Installing (Fedora Core 3) Kenji Miyamoto Linux - Software 0 01-02-2005 04:42 PM
Need help with installing latest gtkpod... (.80) Ausar Linux - Newbie 0 08-22-2004 10:37 PM
compiling gtkpod scapermoya Linux - Software 0 07-14-2004 09:11 PM
problem installing aac codec for xmss texanizer Linux - Newbie 0 05-22-2004 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration